diff options
Diffstat (limited to 'test/dl/test_callback.rb')
-rw-r--r-- | test/dl/test_callback.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dl/test_callback.rb b/test/dl/test_callback.rb index 8ae652b95a..fb24ff0ca5 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 |