summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rw-r--r--tool/lib/-test-/integer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/lib/-test-/integer.rb b/tool/lib/-test-/integer.rb
index a224148..e60abf0 100644
--- a/tool/lib/-test-/integer.rb
+++ b/tool/lib/-test-/integer.rb
@@ -4,11 +4,11 @@ require '-test-/integer.so'
module Test::Unit::Assertions
def assert_fixnum(v, msg=nil)
assert_instance_of(Integer, v, msg)
- assert_predicate(v, :fixnum?, msg)
+ assert_send([Bug::Integer, :fixnum?, v], msg)
end
def assert_bignum(v, msg=nil)
assert_instance_of(Integer, v, msg)
- assert_predicate(v, :bignum?, msg)
+ assert_send([Bug::Integer, :bignum?, v], msg)
end
end