mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merges r31304 from trunk into ruby_1_9_2.
-- * test/ruby/test_range.rb (TestRange#test_step_ruby_core_35753): avoid float error. [ruby-core:35804] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bc5aeb987f
commit
ac899ff9c8
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Apr 18 12:15:46 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/ruby/test_range.rb (TestRange#test_step_ruby_core_35753):
|
||||
avoid float error. [ruby-core:35804]
|
||||
|
||||
Fri Apr 15 15:10:29 2011 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* lib/uri/generic.rb (#route_from_path): Fix a bug where
|
||||
|
|
|
@ -186,9 +186,9 @@ class TestRange < Test::Unit::TestCase
|
|||
assert_equal(6, (1...6.3).step.to_a.size)
|
||||
assert_equal(5, (1.1...6).step.to_a.size)
|
||||
assert_equal(5, (1...6).step(1.1).to_a.size)
|
||||
assert_equal(3, (1.0...6.3).step(1.8).to_a.size)
|
||||
assert_equal(3, (1.0...6.4).step(1.8).to_a.size)
|
||||
assert_equal(4, (1.0...6.5).step(1.8).to_a.size)
|
||||
assert_equal(3, (1.0...5.4).step(1.5).to_a.size)
|
||||
assert_equal(3, (1.0...5.5).step(1.5).to_a.size)
|
||||
assert_equal(4, (1.0...5.6).step(1.5).to_a.size)
|
||||
end
|
||||
|
||||
def test_each
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#define RUBY_VERSION "1.9.2"
|
||||
#define RUBY_PATCHLEVEL 232
|
||||
#define RUBY_PATCHLEVEL 233
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
#define RUBY_VERSION_MINOR 9
|
||||
#define RUBY_VERSION_TEENY 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue