summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/-ext-/num2int/test_num2int.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/-ext-/num2int/test_num2int.rb b/test/-ext-/num2int/test_num2int.rb
index 43d915a55c..8a2c134c98 100644
--- a/test/-ext-/num2int/test_num2int.rb
+++ b/test/-ext-/num2int/test_num2int.rb
@@ -188,7 +188,7 @@ class TestNum2int < Test::Unit::TestCase
assert_num2i_success(:ll, FIXNUM_MIN-1)
assert_num2i_success(:ll, FIXNUM_MAX)
assert_num2i_success(:ll, FIXNUM_MAX+1)
- end if defined?(Num2int.rb_num2ll)
+ end if defined?(Kernel.NUM2LL)
def test_num2ull
assert_num2i_success(:ull, 0)
@@ -201,7 +201,7 @@ class TestNum2int < Test::Unit::TestCase
assert_num2i_success(:ull, FIXNUM_MIN-1, ULLONG_MAX-FIXNUM_MAX-1)
assert_num2i_success(:ull, FIXNUM_MAX)
assert_num2i_success(:ull, FIXNUM_MAX+1)
- end if defined?(Num2int.rb_num2ull)
+ end if defined?(Kernel.NUM2ULL)
def test_fix2short
assert_fix2i_success(:short, 0)