Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl>
  • Loading branch information
nobodywasishere and Sija authored Feb 14, 2025
1 parent fa7244e commit 37cd40e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion spec/ameba/rule/lint/unused_class_variable_access_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module Ameba::Rule::Lint
expect_no_issues subject, <<-CRYSTAL
class MyClass
foo = @@ivar
Bar = @@ivar
end
CRYSTAL
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module Ameba::Rule::Lint
expect_no_issues subject, <<-CRYSTAL
class MyClass
foo = @ivar
Bar = @ivar
end
CRYSTAL
end
Expand Down
2 changes: 1 addition & 1 deletion spec/ameba/rule/lint/unused_local_variable_access_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module Ameba::Rule::Lint
begin
foo
# ^ error: Value from local variable access is unused
# ^^^ error: Value from local variable access is unused
puts foo
end
CRYSTAL
Expand Down

0 comments on commit 37cd40e

Please sign in to comment.