summaryrefslogtreecommitdiff
path: root/ext/dl/test/test.rb
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-11 09:38:26 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-11 09:38:26 +0000
commit3a202ff2b4b39e910c7b99e2993ac5e5e12f2ad1 (patch)
tree1c4a9ad4faeee42031e163d1853d83c7b383c995 /ext/dl/test/test.rb
parent3bd7404423c8a89297b52ff9496fa10b86d64046 (diff)
raise() -> rb_raise(). (Thanks Tetsuya Watanabe)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/test/test.rb')
-rw-r--r--ext/dl/test/test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/test/test.rb b/ext/dl/test/test.rb
index 91ae1f6730..cd63ff190e 100644
--- a/ext/dl/test/test.rb
+++ b/ext/dl/test/test.rb
@@ -237,7 +237,7 @@ set_val = h["test_set_long_value","0"]
get_val = h["test_get_long_value","L"]
lval = get_val[][0]
ptr = h["internal_long_value"]
-ptr.struct!("l", :l)
+ptr.struct!("L", :l)
assert("get value", :must, ptr["l"] == lval)
assert("get value", :must, ptr[:l] == lval) unless (Fixnum === :-)
ptr["l"] = 200