ruby-changes:11732
From: kazu <ko1@a...>
Date: Sat, 9 May 2009 20:00:03 +0900 (JST)
Subject: [ruby-changes:11732] Ruby:r23378 (trunk): * test/ruby/test_float.rb (TestFloat#test_sleep_with_Float): add a
kazu 2009-05-09 19:59:54 +0900 (Sat, 09 May 2009) New Revision: 23378 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23378 Log: * test/ruby/test_float.rb (TestFloat#test_sleep_with_Float): add a test. see [ruby-core:23282] Modified files: trunk/test/ruby/test_float.rb Index: test/ruby/test_float.rb =================================================================== --- test/ruby/test_float.rb (revision 23377) +++ test/ruby/test_float.rb (revision 23378) @@ -421,4 +421,9 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/