diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-21 18:09:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-21 18:09:05 +0000 |
commit | 45e3b48be5fe1faf46f8b0925b00d6cd8f2aa6e6 (patch) | |
tree | c1b67ef2de1998c97e7a2ca03f05031a330105de /test/ruby/test_bignum.rb | |
parent | a7955b31c04a2a66ad1ac270b7dd8a85ea48f52a (diff) |
just check Integer
* test/ruby/test_bignum.rb (test_pow): just assert to be an
Integer.
* test/ruby/test_integer_comb.rb (check_class): ditto.
* test/ruby/test_numeric.rb (test_coerce): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_bignum.rb')
-rw-r--r-- | test/ruby/test_bignum.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_bignum.rb b/test/ruby/test_bignum.rb index d2d15f636b..7760062edc 100644 --- a/test/ruby/test_bignum.rb +++ b/test/ruby/test_bignum.rb @@ -469,7 +469,7 @@ class TestBignum < Test::Unit::TestCase assert_raise(TypeError, ArgumentError) { T32**"foo" } feature3429 = '[ruby-core:30735]' - assert_bignum((2 ** 7830457), feature3429) + assert_kind_of(Integer, (2 ** 7830457), feature3429) end def test_and |