aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cask/cli/fetch_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/cask/cli/fetch_spec.rb')
-rw-r--r--Library/Homebrew/test/cask/cli/fetch_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/cask/cli/fetch_spec.rb b/Library/Homebrew/test/cask/cli/fetch_spec.rb
index 1571c2a70..9f3056631 100644
--- a/Library/Homebrew/test/cask/cli/fetch_spec.rb
+++ b/Library/Homebrew/test/cask/cli/fetch_spec.rb
@@ -69,7 +69,7 @@ describe Hbc::CLI::Fetch, :cask do
it "raises an exception" do
expect {
Hbc::CLI::Fetch.run("--notavalidoption")
- }.to raise_error(Hbc::CaskUnspecifiedError)
+ }.to raise_error(/invalid option/)
end
end
end