Skip to content

Commit

Permalink
test: Add --failure-exit-code test
Browse files Browse the repository at this point in the history
  • Loading branch information
hatsu38 committed Apr 23, 2024
1 parent c91aef7 commit 9dcbb12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/parallel_tests/cli_spec.rb
Expand Up @@ -61,6 +61,10 @@ def call(*args)
)
end

it "parses --failure-exit-code" do
expect(call(["test", "--failure-exit-code", "42"])).to eq(defaults.merge(failure_exit_code: 42))
end

it "parses --quiet" do
expect(call(["test", "--quiet"])).to eq(defaults.merge(quiet: true))
end
Expand Down

0 comments on commit 9dcbb12

Please sign in to comment.