<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,6 +2,7 @@ require 'test/unit'
 
 class TestMath &lt; Test::Unit::TestCase
   def assert_infinity(a, *rest)
+    rest = [&quot;not infinity&quot;] if rest.empty?
     assert(!a.finite?, *rest)
   end
 
@@ -197,8 +198,8 @@ class TestMath &lt; Test::Unit::TestCase
     # no SEGV [ruby-core:25257]
     31.upto(65) do |i|
       i = 1 &lt;&lt; i
-      assert_infinity(Math.gamma(i))
-      assert_infinity(Math.gamma(i-1))
+      assert_infinity(Math.gamma(i), &quot;Math.gamma(#{i}) should be INF&quot;)
+      assert_infinity(Math.gamma(i-1), &quot;Math.gamma(#{i-1}) should be INF&quot;)
     end
   end
 </diff>
      <filename>test/ruby/test_math.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5a1b2fb750ea0a16461c17fac446a703be2137b4</id>
    </parent>
  </parents>
  <author>
    <name>akr</name>
    <email>akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </author>
  <url>http://github.com/skaes/matzruby/commit/b416167fc8166935df3213c79cb3fae65df13ff0</url>
  <id>b416167fc8166935df3213c79cb3fae65df13ff0</id>
  <committed-date>2009-10-03T17:00:18-07:00</committed-date>
  <authored-date>2009-10-03T17:00:18-07:00</authored-date>
  <message>add assertion message.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e</message>
  <tree>d2b1511159206e9eb4c3e87bc702736bb85a355a</tree>
  <committer>
    <name>akr</name>
    <email>akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </committer>
</commit>
