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 ef7eeb9 commit 8f4410a
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 @@ -4,7 +4,7 @@ module Ameba::Rule::Lint
describe LogicalWithoutParenthesis do
subject = LogicalWithoutParenthesis.new

it "passes if logical operator in call args has parenthesis" do
it "passes if logical operator in call args has parentheses" do
expect_no_issues subject, <<-CRYSTAL
if foo.includes?("bar") || foo.includes?("batz")
puts "this code is bug-free"
Expand Down

0 comments on commit 8f4410a

Please sign in to comment.