Add additional test case
This commit is contained in:
parent
eabe463386
commit
0b0a815c31
|
@ -84,6 +84,12 @@ module Ameba::Rule::Style
|
|||
end
|
||||
CRYSTAL
|
||||
|
||||
expect_no_issues subject, <<-CRYSTAL
|
||||
if !(foo = @foo)
|
||||
foo
|
||||
end
|
||||
CRYSTAL
|
||||
|
||||
expect_no_issues subject, <<-CRYSTAL
|
||||
if foo = @foo
|
||||
foo
|
||||
|
|
Loading…
Reference in New Issue