diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-22 06:48:53 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-22 06:48:53 +0000 |
commit | 1931f5e62ed7786f9ec38acd623d7d4c0c4ad173 (patch) | |
tree | 46b795b2ae3c424ed4f17d3c1e163f5c4e87e31a /test | |
parent | 545086d2c7b2905da456896e301a4e197b550f4b (diff) | |
download | ruby-1931f5e62ed7786f9ec38acd623d7d4c0c4ad173.tar.gz |
* 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
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_range.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_range.rb b/test/ruby/test_range.rb index 65aff369f1..eaffac817c 100644 --- a/test/ruby/test_range.rb +++ b/test/ruby/test_range.rb @@ -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 |