Skip to content

Commit

Permalink
Merge pull request Homebrew#7287 from rwhogg/system_command_spec-more…
Browse files Browse the repository at this point in the history
…-specific-error-message

system_command_spec: Make part of bash error regex optional
  • Loading branch information
MikeMcQuaid committed Apr 5, 2020
2 parents 2573bf0 + 1a32ba3 commit 6f50801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/test/system_command_spec.rb
Expand Up @@ -37,7 +37,7 @@
it "unsets them" do
expect {
command.run!
}.to raise_error(/C: parameter null or not set/)
}.to raise_error(/C: parameter (null or )?not set/)
end
end

Expand Down

0 comments on commit 6f50801

Please sign in to comment.