Skip to content

Commit 0b1893a

Browse files
Improve test with rubocop.yml
Original test was looking for Style/UselessAssignment instead of Lint/UselessAssignment so it was a false positive.
1 parent bda9ffd commit 0b1893a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/cc/engine/rubocop_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def method
3939
output = run_engine(config)
4040

4141
assert includes_check?(output, "Style/AndOr")
42-
assert !includes_check?(output, "Style/UselessAssignment")
42+
assert !includes_check?(output, "Lint/UselessAssignment")
4343
end
4444

4545
it "reads a file with a #!.*ruby declaration at the top" do

0 commit comments

Comments
 (0)