Skip to content
Snippets Groups Projects
Commit 75f8d4b3 authored by Markus Reiter's avatar Markus Reiter
Browse files

Suppress `parser` warnings.

parent 4b3e9139
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ describe "RuboCop" do
end
it "loads all Formula cops without errors" do
stdout, stderr, status = Open3.capture3("rubocop", TEST_FIXTURE_DIR/"testball.rb")
stdout, stderr, status = Open3.capture3(RUBY_PATH, "-W0", "-S", "rubocop", TEST_FIXTURE_DIR/"testball.rb")
expect(stderr).to be_empty
expect(stdout).to include("no offenses detected")
expect(status).to be_a_success
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment