[前][次][番号順一覧][スレッド一覧]

ruby-changes:11860

From: yugui <ko1@a...>
Date: Fri, 22 May 2009 00:05:15 +0900 (JST)
Subject: [ruby-changes:11860] Ruby:r23516 (ruby_1_9_1): merges r23378 from trunk into ruby_1_9_1.

yugui	2009-05-21 23:47:33 +0900 (Thu, 21 May 2009)

  New Revision: 23516

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23516

  Log:
    merges r23378 from trunk into ruby_1_9_1.
    --
    * test/ruby/test_float.rb (TestFloat#test_sleep_with_Float): add a
      test. see [ruby-core:23282]

  Modified files:
    branches/ruby_1_9_1/test/ruby/test_float.rb
    branches/ruby_1_9_1/version.h

Index: ruby_1_9_1/version.h
===================================================================
--- ruby_1_9_1/version.h	(revision 23515)
+++ ruby_1_9_1/version.h	(revision 23516)
@@ -1,6 +1,6 @@
 #define RUBY_VERSION "1.9.1"
 #define RUBY_RELEASE_DATE "2009-05-12"
-#define RUBY_PATCHLEVEL 133
+#define RUBY_PATCHLEVEL 134
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 9
 #define RUBY_VERSION_TEENY 1
Index: ruby_1_9_1/test/ruby/test_float.rb
===================================================================
--- ruby_1_9_1/test/ruby/test_float.rb	(revision 23515)
+++ ruby_1_9_1/test/ruby/test_float.rb	(revision 23516)
@@ -423,4 +423,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/

[前][次][番号順一覧][スレッド一覧]