summaryrefslogtreecommitdiff
path: root/test/ruby/test_array.rb
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-09-25 18:05:55 +0900
committerKoichi Sasada <ko1@atdot.net>2020-09-25 22:16:55 +0900
commit0096d2b895395df5ab8696d3b6d444dc1b7730b6 (patch)
tree21aa9c7e0eab7304433d05b6bce6f5b26f5e1d95 /test/ruby/test_array.rb
parentf4328d7f5d035b5a292d00ad21e79818b9220d8b (diff)
freeze all Range objects.v3_0_0_preview1
Matz want to try to freeze all Range objects. [Feature #15504]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3583
Diffstat (limited to 'test/ruby/test_array.rb')
-rw-r--r--test/ruby/test_array.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb
index 9e36e74e71..64bcf9f1aa 100644
--- a/test/ruby/test_array.rb
+++ b/test/ruby/test_array.rb
@@ -2612,7 +2612,7 @@ class TestArray < Test::Unit::TestCase
def test_zip_bug
bug8153 = "ruby-core:53650"
- r = 1..1
+ r = [1]
def r.respond_to?(*)
super
end