system_command_spec: Make part of bash error regex optional
This commit is contained in:
parent
aac3337c64
commit
1a32ba3d2b
@ -37,7 +37,7 @@ describe SystemCommand do
|
|||||||
it "unsets them" do
|
it "unsets them" do
|
||||||
expect {
|
expect {
|
||||||
command.run!
|
command.run!
|
||||||
}.to raise_error(/C: parameter null or not set/)
|
}.to raise_error(/C: parameter (null or )?not set/)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user