From 1a32ba3d2bdc43d38d7aaece9ea87947745a4d87 Mon Sep 17 00:00:00 2001 From: Bob Wombat Hogg Date: Sun, 5 Apr 2020 11:05:30 -0400 Subject: [PATCH] system_command_spec: Make part of bash error regex optional --- Library/Homebrew/test/system_command_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/test/system_command_spec.rb b/Library/Homebrew/test/system_command_spec.rb index 3be1f4aa20712..5c5506eecd13e 100644 --- a/Library/Homebrew/test/system_command_spec.rb +++ b/Library/Homebrew/test/system_command_spec.rb @@ -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