Added failing test case for string formatting with a Bignum to known_bugs.rb.
--- MacRuby/trunk/test-macruby/known_bugs.rb 2008-12-25 02:30:58 UTC (rev 772)
+++ MacRuby/trunk/test-macruby/known_bugs.rb 2008-12-29 18:45:08 UTC (rev 773)
@@ -57,4 +57,10 @@
assert_not_equal Foo.object_id, Foo.dup.object_id
end
end
+
+ class TestStringFormatting < Test::Unit::TestCase
+ def test_formatting_with_a_Bignum
+ assert_nothing_raised(RangeError) { "%d" % 68727360256 }
+ end
+ end
end
\ No newline at end of file