ruby-changes:37074
From: nobu <ko1@a...>
Date: Tue, 6 Jan 2015 00:15:51 +0900 (JST)
Subject: [ruby-changes:37074] nobu:r49155 (trunk): test_handle.rb: remove skips
nobu 2015-01-06 00:15:41 +0900 (Tue, 06 Jan 2015) New Revision: 49155 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49155 Log: test_handle.rb: remove skips * test/fiddle/test_handle.rb (test_static_sym, test_DEFAULT): remove useless skips. Modified files: trunk/test/fiddle/test_handle.rb Index: test/fiddle/test_handle.rb =================================================================== --- test/fiddle/test_handle.rb (revision 49154) +++ test/fiddle/test_handle.rb (revision 49155) @@ -29,7 +29,6 @@ module Fiddle https://github.com/ruby/ruby/blob/trunk/test/fiddle/test_handle.rb#L29 end def test_static_sym - skip "Fiddle::Handle.sym is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM begin # Linux / Darwin / FreeBSD refute_nil Fiddle::Handle.sym('dlopen') @@ -40,7 +39,7 @@ module Fiddle https://github.com/ruby/ruby/blob/trunk/test/fiddle/test_handle.rb#L39 refute_nil Fiddle::Handle.sym('Init_objspace') assert_equal Fiddle::Handle.sym('Init_objspace'), Fiddle::Handle['Init_objspace'] end - end + end unless /mswin|mingw/ =~ RUBY_PLATFORM def test_sym_closed_handle handle = Fiddle::Handle.new(LIBC_SO) @@ -172,7 +171,6 @@ module Fiddle https://github.com/ruby/ruby/blob/trunk/test/fiddle/test_handle.rb#L171 end unless /mswin|mingw/ =~ RUBY_PLATFORM def test_DEFAULT - skip "Handle::DEFAULT is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM handle = Handle::DEFAULT refute_nil handle['malloc'] end unless /mswin|mingw/ =~ RUBY_PLATFORM -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/