mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Add additional test case
This commit is contained in:
parent
eabe463386
commit
0b0a815c31
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue