mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_range.rb: Add test case for Range#end with
exclude_end true case. [fix GH-968] Pach by @yui-knk git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
545086d2c7
commit
1931f5e62e
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Jul 22 15:48:47 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||
|
||||
* test/ruby/test_range.rb: Add test case for Range#end with
|
||||
exclude_end true case. [fix GH-968] Pach by @yui-knk
|
||||
|
||||
Wed Jul 22 09:45:31 2015 Maksim Sitnikov <sitnikovme@undev.ru>
|
||||
|
||||
* numeric.c (num_coerce): [DOC] fix doc for Numeric#coerce,
|
||||
|
|
|
@ -259,6 +259,7 @@ class TestRange < Test::Unit::TestCase
|
|||
def test_begin_end
|
||||
assert_equal(0, (0..1).begin)
|
||||
assert_equal(1, (0..1).end)
|
||||
assert_equal(1, (0...1).end)
|
||||
end
|
||||
|
||||
def test_first_last
|
||||
|
|
Loading…
Add table
Reference in a new issue