1
0
Fork 0
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:
kazu 2009-05-09 10:59:54 +00:00
parent ad20a9e01a
commit 1d0252d597

View file

@ -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