summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-25 00:11:56 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-25 00:11:56 +0000
commit1a36f2d9380f64912dafe9e4cb3a858228ad96a3 (patch)
treec7b4c40c50c00692cdc06b77c31c1d08a805df82 /test
parent041f92d1e68101d1c4290f6252a3053a7a11767a (diff)
downloadruby-1a36f2d9380f64912dafe9e4cb3a858228ad96a3.tar.gz
ruby-1a36f2d9380f64912dafe9e4cb3a858228ad96a3.tar.xz
ruby-1a36f2d9380f64912dafe9e4cb3a858228ad96a3.zip
* ext/dl/handle.c (**) adding documentation
* test/dl/test_handle.rb (test_NEXT) testing the NEXT handle git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-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 487b8d1a3..f2b1de3c2 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