Skip to content

Commit 1ba2651

Browse files
committed
Never exit on errors during Linter test runs
Always set +exit_on_errors+ to false for Linter test runs, even for test cases that should not cause errors, to avoid stopping test runs and silencing (unexpected) error messages during development.
1 parent 2bc187b commit 1ba2651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_linter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
it "can run ok" do
1818
Dir.chdir @md_ok
19-
stdout, stderr = capture_io { Linter.new.run }
19+
stdout, stderr = capture_io { Linter.new(exit_on_errors: false).run }
2020

2121
stdout.must_equal @output_ok
2222
end

0 commit comments

Comments
 (0)