Skip to content

Commit 2475a99

Browse files
authored
Merge pull request #420 from viralpraxis/drop-31-leftovers
Drop 3.1 leftovers
2 parents 758df1c + f0e550b commit 2475a99

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

spec/unit/unparser_spec.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -475,14 +475,6 @@ def foo(bar)
475475
)
476476
end
477477

478-
if RUBY_VERSION < '3.2.'
479-
excludes.concat(
480-
%w[
481-
test/corpus/literal/since/31.rb
482-
]
483-
)
484-
end
485-
486478
excludes.flat_map { |file| ['--ignore', file] }
487479
end
488480

test/corpus/literal/def.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,11 @@ def f
140140
def foo(return:)
141141
{ return: }
142142
end
143+
144+
def foo(&)
145+
bar(&)
146+
end
147+
148+
def foo(a, &)
149+
bar(&)
150+
end

test/corpus/literal/since/31.rb

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)