Skip to content

Commit

Permalink
Fixes rogue test
Browse files Browse the repository at this point in the history
  • Loading branch information
camilopayan committed Jun 2, 2023
1 parent b7d7d3e commit 3c31644
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/standardrb_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def test_project_a_failure_output
lib/foo/do_lint.rb:1:1: Lint/UselessAssignment: Useless assignment to variable - `useless_assignment`.
lib/foo/meh/do_lint.rb:1:1: Lint/UselessAssignment: Useless assignment to variable - `useless_assignment`.
lib/do_lint.rb:1:1: Lint/UselessAssignment: Useless assignment to variable - `useless_assignment`.
standard: Run `standardrb --fix` to fix up to 3 problems.
MSG
end

Expand All @@ -29,6 +30,7 @@ def test_project_with_cwd_in_nested_path
#{standard_greeting}
do_lint.rb:1:1: Lint/UselessAssignment: Useless assignment to variable - `useless_assignment`.
meh/do_lint.rb:1:1: Lint/UselessAssignment: Useless assignment to variable - `useless_assignment`.
standard: Run `standardrb --fix` to fix up to 2 problems.
MSG
end

Expand Down

0 comments on commit 3c31644

Please sign in to comment.