summaryrefslogtreecommitdiff
path: root/test/dl
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-27 05:59:34 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-27 05:59:34 +0000
commit1eac1cb21ebb095886393ee71acd0ed8f6dedab8 (patch)
tree5200317a05b1ae0a676f02ff206f2b5dc6b10b87 /test/dl
parent1d8d7a3eec54a5440a1942c0b589c228138834ae (diff)
reverting r37881
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dl')
-rw-r--r--test/dl/test_callback.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dl/test_callback.rb b/test/dl/test_callback.rb
index 8ae652b..fb24ff0 100644
--- a/test/dl/test_callback.rb
+++ b/test/dl/test_callback.rb
@@ -25,7 +25,7 @@ module DL
func = CFunc.new(addr, TYPE_VOIDP, 'test')
f = Function.new(func, [TYPE_VOIDP])
ptr = CPtr['blah']
- assert_equal ptr.to_i, f.call(ptr).to_i
+ assert_equal ptr, f.call(ptr)
end
def test_callback_return_arbitrary