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

* test/ruby/test_math.rb: Fix lgamma test

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
marcandre 2010-03-02 04:55:04 +00:00
parent 4f19ce8376
commit b25434f6a9
2 changed files with 4 additions and 1 deletions

View file

@ -266,7 +266,6 @@ class TestMath < Test::Unit::TestCase
check(Math.log(6), g)
assert_equal(s, 1)
assert_infinity Math.lgamma(-Float::INFINITY)
assert_raise(Math::DomainError) { Math.lgamma(-Float::INFINITY) }
end