diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-09 10:59:54 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-09 10:59:54 +0000 |
commit | 1d0252d597a4c06b81353459374e0db8befa0bfb (patch) | |
tree | 116fea4f0b29309c27c05faaf32313412022acca /test/ruby/test_float.rb | |
parent | ad20a9e01ae998e672f4b2c87b100199066eaf17 (diff) | |
download | ruby-1d0252d597a4c06b81353459374e0db8befa0bfb.tar.gz |
* 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
Diffstat (limited to 'test/ruby/test_float.rb')
-rw-r--r-- | test/ruby/test_float.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ruby/test_float.rb b/test/ruby/test_float.rb index d8255df17b..96fd354aba 100644 --- a/test/ruby/test_float.rb +++ b/test/ruby/test_float.rb @@ -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 |