aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMartin Schimandl2017-10-23 06:49:12 +0200
committerMartin Schimandl2017-11-10 20:16:38 +0100
commitfea5350d52de54eca9d6f30c67bd2fa008ca8328 (patch)
tree4cb30d8d3023403dcd7a580c0b4437c2d8a5efa9 /Library/Homebrew/test
parent4e4405e6d78c508929845be30f75bcf897e04d36 (diff)
downloadbrew-fea5350d52de54eca9d6f30c67bd2fa008ca8328.tar.bz2
Add line break to string
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/cask/cli/internal_stanza_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/cask/cli/internal_stanza_spec.rb b/Library/Homebrew/test/cask/cli/internal_stanza_spec.rb
index a020b33d4..47b0fd8b3 100644
--- a/Library/Homebrew/test/cask/cli/internal_stanza_spec.rb
+++ b/Library/Homebrew/test/cask/cli/internal_stanza_spec.rb
@@ -9,7 +9,7 @@ describe Hbc::CLI::InternalStanza, :cask do
it "raises an exception when stanza is unknown/unsupported" do
expect {
described_class.new("this_stanza_does_not_exist", "with-gpg")
- }.to raise_error(/Unknown\/unsupported stanza/)
+ }.to raise_error(%r{Unknown/unsupported stanza})
end
it "raises an exception when normal stanza is not present on cask" do