summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-21 14:47:33 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-21 14:47:33 +0000
commitc378fbc511978aa27a7e5517deffbe6807bde71a (patch)
tree0bd6d054b4ea886465a9e8f36286782e3f3dc979
parent8d5f3471b0eaba08bbb61c801fdecdc1b3115727 (diff)
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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/ruby/test_float.rb5
-rw-r--r--version.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/test/ruby/test_float.rb b/test/ruby/test_float.rb
index 5d7bbb178b..feef52ccc5 100644
--- a/test/ruby/test_float.rb
+++ b/test/ruby/test_float.rb
@@ -423,4 +423,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
diff --git a/version.h b/version.h
index 470d1f4365..cf93fec10b 100644
--- a/version.h
+++ b/version.h
@@ -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