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:
parent
374fac7482
commit
655fd2dc37
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue