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.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb
index 487b8d1a34..f2b1de3c20 100644
--- a/test/dl/test_handle.rb
+++ b/test/dl/test_handle.rb
@@ -122,5 +122,15 @@ module DL
handle.disable_close
assert !handle.close_enabled?, 'close is enabled'
end
+
+ def test_NEXT
+ handle = DL::Handle::NEXT
+ assert handle['malloc']
+ end
+
+ def test_DEFAULT
+ handle = DL::Handle::DEFAULT
+ assert handle['malloc']
+ end
end
end