diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-22 07:27:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-22 07:27:02 +0000 |
commit | 006634b4891fdf274bfa212ed74e696280a5d2dd (patch) | |
tree | a9993326ab7c38cff3827792b6d50a3c1a6d164a /test/ruby | |
parent | 78c5ca70744e85f8468147ddc362962bcd987d30 (diff) | |
download | ruby-006634b4891fdf274bfa212ed74e696280a5d2dd.tar.gz |
-test-/integer
* ext/-test-/integer/core_ext.c: move testutil/integer.c.
* test/lib/-test-/integer.rb: extract implementation details from
test/unit/assertions.rb. [Bug #12408]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_bignum.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ruby/test_bignum.rb b/test/ruby/test_bignum.rb index 7760062edc..e19c3202ed 100644 --- a/test/ruby/test_bignum.rb +++ b/test/ruby/test_bignum.rb @@ -1,5 +1,9 @@ # frozen_string_literal: false require 'test/unit' +begin + require '-test-/integer' +rescue LoadError +else class TestBignum < Test::Unit::TestCase FIXNUM_MIN = Integer::FIXNUM_MIN @@ -734,3 +738,4 @@ class TestBignum < Test::Unit::TestCase assert_equal(T1024 ^ 10, T1024 ^ obj) end end +end |