1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

0**-1 test updated. [ruby-dev:34547]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-04-30 14:29:58 +00:00
parent b72ef21cd3
commit e4dda7015a

View file

@ -245,7 +245,11 @@ class TestInteger < Test::Unit::TestCase
}
}
assert_equal(0**-1 == 0, false)
assert_not_equal(0, begin
0**-1
rescue
nil
end, "[ruby-dev:32084] [ruby-dev:34547]")
end
def test_not