Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installer_spec: silence test output. #2966

Merged
merged 1 commit into from Jul 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion Library/Homebrew/test/cask/installer_spec.rb
Expand Up @@ -101,7 +101,9 @@
it "fails to install if sha256 :no_check is used with --require-sha" do
no_checksum = Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/no-checksum.rb")
expect {
Hbc::Installer.new(no_checksum, require_sha: true).install
shutup do
Hbc::Installer.new(no_checksum, require_sha: true).install
end
}.to raise_error(Hbc::CaskNoShasumError)
end

Expand Down