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
This commit is contained in:
yugui 2009-05-21 14:47:33 +00:00
parent 8d5f3471b0
commit c378fbc511
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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