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 | ecb1ab8a086ac8aef519bb71b7b419f8860bb8b3 (patch) | |
| tree | 116fea4f0b29309c27c05faaf32313412022acca /test/ruby | |
| parent | e66f0d429f3a4201465f7e1d4f4d4d87d4e4fd24 (diff) | |
| download | ruby-ecb1ab8a086ac8aef519bb71b7b419f8860bb8b3.tar.gz ruby-ecb1ab8a086ac8aef519bb71b7b419f8860bb8b3.tar.xz ruby-ecb1ab8a086ac8aef519bb71b7b419f8860bb8b3.zip | |
* test/ruby/test_float.rb (TestFloat#test_sleep_with_Float): add a
test. see [ruby-core:23282]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
| -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 d8255df17..96fd354ab 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 |
