mirror of
https://github.com/ruby/ruby.git
synced 2025-09-23 04:24:04 +02:00
test/ruby: suppress parser warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
311b715483
commit
41f4317f45
31 changed files with 103 additions and 90 deletions
|
@ -913,7 +913,7 @@ class Rational_Test < Test::Unit::TestCase
|
|||
one = Rational( 1, 1)
|
||||
assert_eql one, one ** -big , bug5715
|
||||
assert_eql one, (-one) ** -big , bug5715
|
||||
assert_eql -one, (-one) ** -(big+1) , bug5715
|
||||
assert_eql (-one), (-one) ** -(big+1) , bug5715
|
||||
assert_equal Complex, ((-one) ** Rational(1,3)).class
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue