Skip to content

Commit

Permalink
Address Rubocop style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Jun 6, 2024
1 parent 34f0db2 commit 567a79c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions language/pattern_matching_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
end.should == true

case "0"
in ->(s) { s == "0" }
in -> s { s == "0" }
true
end.should == true
end
Expand Down Expand Up @@ -1200,4 +1200,4 @@ def ===(obj)

ruby_version_is "3.1" do
require_relative 'pattern_matching/3.1'
end
end

0 comments on commit 567a79c

Please sign in to comment.