diff options
Diffstat (limited to 'test/ruby/test_rational.rb')
-rw-r--r-- | test/ruby/test_rational.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/ruby/test_rational.rb b/test/ruby/test_rational.rb index bafe995a26..f039a3c36e 100644 --- a/test/ruby/test_rational.rb +++ b/test/ruby/test_rational.rb @@ -959,13 +959,12 @@ class Rational_Test < Test::Unit::TestCase if defined?(Rational::Unify) assert_instance_of(Fixnum, Rational(1,2) ** 0) # mathn's bug end - end -=begin - def test_known_bug n = Float::MAX.to_i * 2 assert_equal(1.0, Rational(n + 2, n + 1).to_f, '[ruby-dev:33852]') end -=end + + def test_known_bug + end end |