We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e80f75b commit 41ec245Copy full SHA for 41ec245
test/stdlib/Range_test.rb
@@ -110,10 +110,15 @@ def test_size
110
def test_step
111
(1..10).step
112
(1..10).step(2)
113
+
114
if_ruby(..."3.4.0", skip: false) do
115
('A'...'Z').step { |s| s.downcase }
116
('A'...'Z').step(2) { |s| s.downcase }
117
end
118
119
+ if_ruby("3.4.0"..., skip: false) do
120
+ ('A'...'AAA').step('A') { |s| s.downcase }
121
+ end
122
123
124
def test_to_s
0 commit comments