summaryrefslogtreecommitdiff
path: root/test/dl/test_callback.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/dl/test_callback.rb')
-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 fb24ff0..8ae652b 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, f.call(ptr)
+ assert_equal ptr.to_i, f.call(ptr).to_i
end
def test_callback_return_arbitrary