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

add a test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-03-01 16:05:10 +00:00
parent 374fac7482
commit 655fd2dc37

View file

@ -83,6 +83,7 @@ class TestFloat < Test::Unit::TestCase
assert_raise(ArgumentError){Float("1e")}
assert_raise(ArgumentError){Float("1__1")}
# add expected behaviour here.
assert_equal(10, Float("1_0"))
end
def test_divmod