diff options
| author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-22 17:31:08 +0000 |
|---|---|---|
| committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-22 17:31:08 +0000 |
| commit | 3de24cfd67323ef4254d73bd77d623b16103d705 (patch) | |
| tree | 47a2c27cc42ef6fc46a4eccf746b84f0233855b4 /test/ruby/test_rational.rb | |
| parent | 95a1d31ece2d3f7732fefbc04849a9a046b0eaf3 (diff) | |
| download | ruby-3de24cfd67323ef4254d73bd77d623b16103d705.tar.gz ruby-3de24cfd67323ef4254d73bd77d623b16103d705.tar.xz ruby-3de24cfd67323ef4254d73bd77d623b16103d705.zip | |
fixed. [ruby-dev:34109]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 bafe995a2..f039a3c36 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 |
