mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_float.rb (TestFloat#test_sleep_with_Float): add a
test. see [ruby-core:23282] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ad20a9e01a
commit
1d0252d597
1 changed files with 5 additions and 0 deletions
|
@ -421,4 +421,9 @@ class TestFloat < Test::Unit::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
def test_sleep_with_Float
|
||||
assert_nothing_raised("[ruby-core:23282]") do
|
||||
sleep(0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue