diff options
Diffstat (limited to 'test/ruby/test_range.rb')
-rw-r--r-- | test/ruby/test_range.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/ruby/test_range.rb b/test/ruby/test_range.rb index 1ce3f0663a..3743e9dda6 100644 --- a/test/ruby/test_range.rb +++ b/test/ruby/test_range.rb @@ -640,17 +640,6 @@ class TestRange < Test::Unit::TestCase assert_raise(TypeError) { ("a".."z").bsearch {} } end - def test_bsearch_with_mathn - assert_separately ['-r', 'mathn'], %q{ - msg = '[ruby-core:25740]' - answer = (1..(1 << 100)).bsearch{|x| - assert_predicate(x, :integer?, msg) - x >= 42 - } - assert_equal(42, answer, msg) - }, ignore_stderr: true - end - def test_each_no_blockarg a = "a" def a.upto(x, e, &b) |