From c378fbc511978aa27a7e5517deffbe6807bde71a Mon Sep 17 00:00:00 2001 From: yugui Date: Thu, 21 May 2009 14:47:33 +0000 Subject: [PATCH] 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 --- test/ruby/test_float.rb | 5 +++++ version.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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