summaryrefslogtreecommitdiff
path: root/test/dl/test_handle.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/dl/test_handle.rb')
-rw-r--r--test/dl/test_handle.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb
index 75edb10..3f42392 100644
--- a/test/dl/test_handle.rb
+++ b/test/dl/test_handle.rb
@@ -133,7 +133,6 @@ module DL
end
def test_NEXT
- skip "DL::Handle::NEXT is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM
begin
# Linux / Darwin
#
@@ -163,12 +162,12 @@ module DL
handle = DL::Handle::NEXT
assert_not_nil handle['Init_objspace']
end
- end
+ end unless /mswin|mingw/ =~ RUBY_PLATFORM
def test_DEFAULT
skip "DL::Handle::DEFAULT is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM
handle = DL::Handle::DEFAULT
assert_not_nil handle['malloc']
- end
+ end unless /mswin|mingw/ =~ RUBY_PLATFORM
end
end