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:
parent
b72ef21cd3
commit
e4dda7015a
1 changed files with 5 additions and 1 deletions
|
@ -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
|
end
|
||||||
|
|
||||||
def test_not
|
def test_not
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue