Skip to content

Commit

Permalink
Update spec/ameba/rule/lint/unused_comparison_spec.cr
Browse files Browse the repository at this point in the history
Co-authored-by: Sijawusz Pur Rahnama <[email protected]>
  • Loading branch information
nobodywasishere and Sija authored Dec 11, 2024
1 parent ca09eba commit 77349ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ameba/rule/lint/unused_comparison_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module Ameba::Rule::Lint
it "passes for unused comparisons with `===`, `=~`, and `!~`" do
expect_no_issues subject, <<-CRYSTAL
/foo(bar)?/ =~ baz
"foobar" !~ /(o+)ba(r?)/
/foo(bar)?/ !~ baz
"hello" === world
CRYSTAL
end
Expand Down

0 comments on commit 77349ca

Please sign in to comment.