summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-07-13 12:51:35 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-07-13 14:01:28 +0900
commit3ef6364a988ab24ca7fdbb7d1b6840b2a40f1466 (patch)
tree13e8f2903bc85a9d7f2bb67fe45e3455e61ff53f /test/ruby
parent5dd969892f16fa4683edd9734564154411e3fdbc (diff)
Move bsearch test with Bigdecimal under the test_bigdecimal.rb
When we extract bigdecimal as bundled gems, this test will be failed with `make test-all`.
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_range.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/ruby/test_range.rb b/test/ruby/test_range.rb
index 0a68824f11..820ca9e9c2 100644
--- a/test/ruby/test_range.rb
+++ b/test/ruby/test_range.rb
@@ -2,7 +2,6 @@
require 'test/unit'
require 'delegate'
require 'timeout'
-require 'bigdecimal'
require 'rbconfig/sizeof'
class TestRange < Test::Unit::TestCase
@@ -852,9 +851,6 @@ class TestRange < Test::Unit::TestCase
assert_raise(TypeError) {
(Rational(-1,2)..Rational(9,4)).bsearch
}
- assert_raise(TypeError) {
- (BigDecimal('0.5')..BigDecimal('2.25')).bsearch
- }
end
def test_bsearch_for_fixnum