summaryrefslogtreecommitdiff
path: root/test/-ext-/num2int
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-01 22:45:29 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-01 22:45:29 +0000
commit17cf784d78a6f034a539c391175a3bda2b5048af (patch)
treecdd475317396162928133af11a67e55935d1d98f /test/-ext-/num2int
parente47f41fb9dccd61ba6901081c49e51226ca27a74 (diff)
conditional test fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-/num2int')
-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 43d915a..8a2c134 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)