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

@ -1,3 +1,7 @@
Tue Mar 2 13:54:44 2010 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
* test/ruby/test_math.rb: Fix lgamma test
Mon Mar 1 23:26:56 2010 Tanaka Akira <akr@fsij.org> Mon Mar 1 23:26:56 2010 Tanaka Akira <akr@fsij.org>
* ext/pty/pty.c (pty_open): refine the path for master IO. * ext/pty/pty.c (pty_open): refine the path for master IO.

View file

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