Skip to content

Commit

Permalink
Update logical_without_paren_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 Nov 24, 2024
1 parent 8f4410a commit d89b565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ameba/rule/lint/logical_without_paren_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module Ameba::Rule::Lint
CRYSTAL
end

it "fails if logical operator in call args doesn't have parenthesis" do
it "fails if logical operator in call args doesn't have parentheses" do
expect_issue subject, <<-CRYSTAL
if foo.includes? "bar" || foo.includes? "batz"
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: Logical operator in method args without parenthesis is not allowed
Expand Down

0 comments on commit d89b565

Please sign in to comment.