language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
Homebrew
brew
0e3f1ab27337338c19996a15e8f1e3b72ec270f1.json
Note cases when pinned formulae get upgraded. Fixes #3021.
Library/Homebrew/cmd/unpin.rb
@@ -1,6 +1,6 @@ #: * `unpin` <formulae>: -#: Unpin <formulae>, allowing them to be upgraded by `brew upgrade`. See also -#: `pin`. +#: Unpin <formulae>, allowing them to be upgraded by `brew upgrade <formulae>`. +#: See also `pin`. require "formula"
true
Other
Homebrew
brew
0e3f1ab27337338c19996a15e8f1e3b72ec270f1.json
Note cases when pinned formulae get upgraded. Fixes #3021.
docs/FAQ.md
@@ -26,6 +26,8 @@ To allow that formulae to update again: brew unpin <formula> +Note that pinned, outdated formulae that are depended on by another formula will be upgraded when required as we do not allow formulae to be built against non-latest versions. + ## How do I uninstall old versions of a formula? By...
true
Other
Homebrew
brew
0e3f1ab27337338c19996a15e8f1e3b72ec270f1.json
Note cases when pinned formulae get upgraded. Fixes #3021.
docs/Manpage.md
@@ -364,7 +364,8 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note * `pin` `formulae`: Pin the specified `formulae`, preventing them from being upgraded when - issuing the `brew upgrade` command. See also `unpin`. + issuing the `brew upgrade `formulae`` command (but can ...
true
Other
Homebrew
brew
0e3f1ab27337338c19996a15e8f1e3b72ec270f1.json
Note cases when pinned formulae get upgraded. Fixes #3021.
manpages/brew-cask.1
@@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "BREW\-CASK" "1" "July 2017" "Homebrew" "brew-cask" +.TH "BREW\-CASK" "1" "August 2017" "Homebrew" "brew-cask" . .SH "NAME" \fBbrew\-cask\fR \- a friendly binary installer for macOS
true
Other
Homebrew
brew
0e3f1ab27337338c19996a15e8f1e3b72ec270f1.json
Note cases when pinned formulae get upgraded. Fixes #3021.
manpages/brew.1
@@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "BREW" "1" "July 2017" "Homebrew" "brew" +.TH "BREW" "1" "August 2017" "Homebrew" "brew" . .SH "NAME" \fBbrew\fR \- The missing package manager for macOS @@ -378,7 +378,7 @@ If \fB\-\-fetch\-HEAD\fR is passed, fet...
true
Other
Homebrew
brew
93051b27d6886dae6df01544c86df579f21f6410.json
formula_cellar_checks: fix broken dylib spacing.
Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
@@ -69,7 +69,7 @@ def check_linkage return unless checker.broken_dylibs? output = <<-EOS.undent #{formula} has broken dynamic library links: - #{checker.broken_dylibs.to_a * "\n "} + #{checker.broken_dylibs.to_a * "\n "} EOS tab = Tab.for_keg(keg) if tab.poured_fr...
false
Other
Homebrew
brew
69799d97b1e7314912b2ee234dec2c179c5fb969.json
formula_cellar_checks: remove stray backtick.
Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
@@ -75,7 +75,7 @@ def check_linkage if tab.poured_from_bottle output += <<-EOS.undent Rebuild this from source with: - brew reinstall --build-from-source #{formula}` + brew reinstall --build-from-source #{formula} If that's successful, file an issue#{formula.tap ? " here:...
false
Other
Homebrew
brew
12c454822aff7320cee503c0708d30a99f4a0e0c.json
sandbox: stop printing message. We’re always using the sandbox where possible now so this is just noise for the vast majority of our users.
Library/Homebrew/cmd/postinstall.rb
@@ -29,8 +29,6 @@ def run_post_install(formula) args << "--devel" end - Sandbox.print_sandbox_message if Sandbox.formula?(formula) - Utils.safe_fork do if Sandbox.formula?(formula) sandbox = Sandbox.new
true
Other
Homebrew
brew
12c454822aff7320cee503c0708d30a99f4a0e0c.json
sandbox: stop printing message. We’re always using the sandbox where possible now so this is just noise for the vast majority of our users.
Library/Homebrew/dev-cmd/test.rb
@@ -65,8 +65,6 @@ def test args << "--devel" end - Sandbox.print_sandbox_message if Sandbox.test? - Utils.safe_fork do if Sandbox.test? sandbox = Sandbox.new
true
Other
Homebrew
brew
12c454822aff7320cee503c0708d30a99f4a0e0c.json
sandbox: stop printing message. We’re always using the sandbox where possible now so this is just noise for the vast majority of our users.
Library/Homebrew/formula_installer.rb
@@ -679,8 +679,6 @@ def build #{formula.specified_path} ].concat(build_argv) - Sandbox.print_sandbox_message if Sandbox.formula?(formula) - Utils.safe_fork do # Invalidate the current sudo timestamp in case a build script calls sudo. # Travis CI's Linux sudoless workers have a weird ...
true
Other
Homebrew
brew
12c454822aff7320cee503c0708d30a99f4a0e0c.json
sandbox: stop printing message. We’re always using the sandbox where possible now so this is just noise for the vast majority of our users.
Library/Homebrew/sandbox.rb
@@ -18,12 +18,6 @@ def self.test? !ARGV.no_sandbox? end - def self.print_sandbox_message - return if @printed_sandbox_message - ohai "Using the sandbox" - @printed_sandbox_message = true - end - def initialize @profile = SandboxProfile.new end
true
Other
Homebrew
brew
d9c81901c3a7f6ed112a99e9067d78fb9a2c3293.json
audit: Add tests for rubocop methods in line_cop.rb
Library/Homebrew/test/rubocops/lines_cop_spec.rb
@@ -200,5 +200,274 @@ class Foo < Formula expect_offense(expected, actual) end end + + it "with invalid rebuild" do + source = <<-EOS.undent + class Foo < Formula + desc "foo" + url 'http://example.com/foo-1.0.tgz' + bottle do + rebuild 0 + ...
false
Other
Homebrew
brew
06ecad2950b8890eb9175081e9f9231cd0542470.json
formula: Remove reference to homebrew/x11 That tap is now defunct. Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
Library/Homebrew/formula.rb
@@ -2213,7 +2213,7 @@ def go_resource(name, &block) # depends_on :arch => :x86_64 # If this formula only builds on Intel x86 64-bit. # depends_on :arch => :ppc # Only builds on PowerPC? # depends_on :ld64 # Sometimes ld fails on `MacOS.version < :leopard`. Then use this. - # depends_on :x11 # X11/XQua...
false
Other
Homebrew
brew
eaea27c960de3bf76fc9976bfad037c0a559018d.json
formula_installer: restore build_bottle defaults.
Library/Homebrew/formula_installer.rb
@@ -46,7 +46,7 @@ def initialize(formula) @ignore_deps = false @only_deps = false @build_from_source = ARGV.build_from_source? || ARGV.build_all_from_source? - @build_bottle = ARGV.build_bottle? + @build_bottle = false @force_bottle = ARGV.force_bottle? @interactive = false @git = fa...
false
Other
Homebrew
brew
f89e09b7857e8e3a6f6cd30258aa5927a1ac2872.json
Add spec for `conflicts_with cask`.
Library/Homebrew/test/cask/conflicts_with_spec.rb
@@ -0,0 +1,23 @@ +describe "conflicts_with", :cask do + describe "conflicts_with cask" do + let(:local_caffeine) { + Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/local-caffeine.rb") + } + + let(:with_conflicts_with) { + Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/with-...
true
Other
Homebrew
brew
f89e09b7857e8e3a6f6cd30258aa5927a1ac2872.json
Add spec for `conflicts_with cask`.
Library/Homebrew/test/support/fixtures/cask/Casks/with-conflicts-with.rb
@@ -5,7 +5,7 @@ url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage 'http://example.com/with-conflicts-with' - conflicts_with formula: 'unar' + conflicts_with cask: 'local-caffeine' app 'Caffeine.app' end
true
Other
Homebrew
brew
1c3ece12b997206fd9cb0b2bf98c25da8332fe10.json
Tap.each: return an enumerable when no block given
Library/Homebrew/tap.rb
@@ -486,6 +486,8 @@ def ==(other) def self.each return unless TAP_DIRECTORY.directory? + return to_enum unless block_given? + TAP_DIRECTORY.subdirs.each do |user| user.subdirs.each do |repo| yield fetch(user.basename.to_s, repo.basename.to_s)
true
Other
Homebrew
brew
1c3ece12b997206fd9cb0b2bf98c25da8332fe10.json
Tap.each: return an enumerable when no block given
Library/Homebrew/test/tap_spec.rb
@@ -297,6 +297,12 @@ def setup_git_repo subject.config["foo"] = nil expect(subject.config["foo"]).to be nil end + + describe "#each" do + it "returns an enumerator if no block is passed" do + expect(described_class.each).to be_an_instance_of(Enumerator) + end + end end describe CoreTap do
true
Other
Homebrew
brew
980db9d3fb6671c7562f97dfa3dd4f22fd74083f.json
Remove errant pkg-config libdir We found an issue in Linuxbrew/homebrew-core#3366 where the addition of "/usr/lib/pkg-config" causes compilation issues if system pkg-config files are in that directory on Linux. Removing the line from here and adding it into the mac superenv.
Library/Homebrew/extend/ENV/super.rb
@@ -138,7 +138,6 @@ def determine_pkg_config_path def determine_pkg_config_libdir PATH.new( - "/usr/lib/pkgconfig", homebrew_extra_pkg_config_paths, ).existing end
false
Other
Homebrew
brew
85da3762331dda87bd6acaae2977cc470c9d2658.json
audit: add additional php header ignore patterns
Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
@@ -6,7 +6,7 @@ def check_shadowed_headers formula.name.start_with?(formula_name) end - return if formula.name =~ /^php\d+$/ + return if formula.name =~ /^php(@?\d+\.?\d*?)?$/ return if MacOS.version < :mavericks && formula.name.start_with?("postgresql") return if MacOS.version < :yosemi...
false
Other
Homebrew
brew
732e0aa689b9a7f9a63c0a99472a9512a14ac291.json
formula: Remove reference to Homebrew/Homebrew That repo is now defunct. Reference homebrew-core instead. Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
Library/Homebrew/formula.rb
@@ -2072,8 +2072,8 @@ def mirror(val) # # If you maintain your own repository, you can add your own bottle links. # https://docs.brew.sh/Bottles.html - # You can ignore this block entirely if submitting to Homebrew/Homebrew, It'll be - # handled for you by the Brew Test Bot. + # You can ignore t...
false
Other
Homebrew
brew
8779784d7092b6f1175eaf8c780c4d3cc88b4b16.json
Fix trash script.
Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb
@@ -247,8 +247,11 @@ def trash_paths(*paths) set output to "" repeat with i from 1 to (count trashedItems) - set item i of trashedItems to POSIX path of (item i of trashedItems as string) - set output to output & (item i of trashedItems) & (do shell script "...
false
Other
Homebrew
brew
a83baba8b50e29e680b89588ca19347ac0133608.json
formula_installer: use default_formula for bottles This was the original, intended functionality before this was broken in fe117bf79b244c42b7e4049d353c3c003eae4880. Fixes https://github.com/Homebrew/homebrew-core/issues/13680.
Library/Homebrew/formula_installer.rb
@@ -402,14 +402,13 @@ def check_requirements(req_map) raise UnsatisfiedRequirements, fatals end - def install_requirement_formula?(req, dependent, build) - req_dependency = req.to_dependency + def install_requirement_formula?(req_dependency, req, install_bottle_for_dependent) return false unless req...
true
Other
Homebrew
brew
a83baba8b50e29e680b89588ca19347ac0133608.json
formula_installer: use default_formula for bottles This was the original, intended functionality before this was broken in fe117bf79b244c42b7e4049d353c3c003eae4880. Fixes https://github.com/Homebrew/homebrew-core/issues/13680.
Library/Homebrew/requirement.rb
@@ -129,8 +129,10 @@ def satisfied_by_formula? !@formula.nil? end - def to_dependency - if formula =~ HOMEBREW_TAP_FORMULA_REGEX + def to_dependency(use_default_formula: false) + if use_default_formula && default_formula? + Dependency.new(self.class.default_formula, tags, method(:modify_build_env...
true
Other
Homebrew
brew
a83baba8b50e29e680b89588ca19347ac0133608.json
formula_installer: use default_formula for bottles This was the original, intended functionality before this was broken in fe117bf79b244c42b7e4049d353c3c003eae4880. Fixes https://github.com/Homebrew/homebrew-core/issues/13680.
Library/Homebrew/test/formula_installer_spec.rb
@@ -135,22 +135,22 @@ class #{Formulary.class_s(dep_name)} < Formula }.to raise_error(CannotInstallFormulaError) end - describe "#install_requirement_formula?" do + describe "#install_requirement_formula?", :focus do before do @requirement = Python3Requirement.new + @requirement_dependency ...
true
Other
Homebrew
brew
7ec05052003ecf6142d94aeaa62f4b4bd84a569d.json
Preserve link status on reinstall/upgrade. This means if a user has manually `brew unlink` or `brew link --force`d something then that status will be preserved after they `brew upgrade` or `brew reinstall` that formula. This generally should make things that are keg-only by default easier to swallow.
Library/Homebrew/cmd/reinstall.rb
@@ -23,6 +23,7 @@ def reinstall def reinstall_formula(f) if f.opt_prefix.directory? keg = Keg.new(f.opt_prefix.resolved_path) + keg_was_linked = keg.linked? backup keg end @@ -37,6 +38,7 @@ def reinstall_formula(f) fi.build_bottle = ARGV.build_bottle? || (!f.bottled? && f....
true
Other
Homebrew
brew
7ec05052003ecf6142d94aeaa62f4b4bd84a569d.json
Preserve link status on reinstall/upgrade. This means if a user has manually `brew unlink` or `brew link --force`d something then that status will be preserved after they `brew upgrade` or `brew reinstall` that formula. This generally should make things that are keg-only by default easier to swallow.
Library/Homebrew/cmd/upgrade.rb
@@ -106,6 +106,7 @@ def upgrade_formula(f) .map(&:linked_keg) .select(&:directory?) .map { |k| Keg.new(k.resolved_path) } + linked_kegs = outdated_kegs.select(&:linked?) if f.opt_prefix.directory? keg = Keg.new(f.opt_prefix.resolved_path) @...
true
Other
Homebrew
brew
7ec05052003ecf6142d94aeaa62f4b4bd84a569d.json
Preserve link status on reinstall/upgrade. This means if a user has manually `brew unlink` or `brew link --force`d something then that status will be preserved after they `brew upgrade` or `brew reinstall` that formula. This generally should make things that are keg-only by default easier to swallow.
Library/Homebrew/formula_installer.rb
@@ -37,10 +37,17 @@ def self.mode_attr_accessor(*names) mode_attr_accessor :show_summary_heading, :show_header mode_attr_accessor :build_from_source, :force_bottle mode_attr_accessor :ignore_deps, :only_deps, :interactive, :git - mode_attr_accessor :verbose, :debug, :quieter + mode_attr_accessor :verbose, :d...
true
Other
Homebrew
brew
7ec05052003ecf6142d94aeaa62f4b4bd84a569d.json
Preserve link status on reinstall/upgrade. This means if a user has manually `brew unlink` or `brew link --force`d something then that status will be preserved after they `brew upgrade` or `brew reinstall` that formula. This generally should make things that are keg-only by default easier to swallow.
Library/Homebrew/test/bottle_hooks_spec.rb
@@ -12,6 +12,8 @@ local_bottle_path: nil, bottle_disabled?: false, some_random_method: true, + linked_keg: Pathname("foo"), + rack: Pathname("bar"), ) end
true
Other
Homebrew
brew
0a10ca61dc6d626bfe72b3a4e5501ebb6ad15a81.json
formula_support: add provided_pre_high_sierra keg_only
Library/Homebrew/formula_support.rb
@@ -19,6 +19,8 @@ def valid? MacOS.version < :mavericks when :provided_pre_el_capitan MacOS.version < :el_capitan + when :provided_pre_high_sierra + MacOS.version < :high_sierra when :provided_until_xcode43 MacOS::Xcode.installed? && MacOS::Xcode.version < "4.3" when :provide...
false
Other
Homebrew
brew
f4501787635a8732909ee811b1b850d52802e928.json
Fix style error
Library/Homebrew/cask/lib/hbc/cli/internal_audit_modified_casks.rb
@@ -117,7 +117,6 @@ def report_failures odie "audit failed for #{Formatter.pluralize(num_failed, "cask")}: " \ "#{failed_casks.join(" ")}" end - end end end
false
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/accessibility_spec.rb
@@ -20,9 +20,7 @@ sudo: true, ) - shutup do - installer.enable_accessibility_access - end + installer.enable_accessibility_access end it "warns about disabling accessibility access on old macOS releases" do @@ -42,9 +40,7 @@ sudo: true, ) - shut...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/artifact/alt_target_spec.rb
@@ -17,9 +17,7 @@ expect(source_path).to be_a_directory expect(target_path).not_to exist - shutup do - install_phase.call - end + install_phase.call expect(target_path).to be_a_directory expect(source_path).not_to exist @@ -40,9 +38,7 @@ appsubdir = cask.st...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/artifact/app_spec.rb
@@ -16,9 +16,7 @@ describe "install_phase" do it "installs the given app using the proper target directory" do - shutup do - install_phase - end + install_phase expect(target_path).to be_a_directory expect(source_path).not_to exist @@ -39,9 +37,7 @@ appsubdir = c...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/artifact/binary_spec.rb
@@ -1,9 +1,7 @@ describe Hbc::Artifact::Binary, :cask do let(:cask) { Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/with-binary.rb").tap do |cask| - shutup do - InstallHelper.install_without_artifacts(cask) - end + InstallHelper.install_without_artifacts(cask) end } ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb
@@ -21,9 +21,7 @@ end it "moves the artifact to the proper directory" do - shutup do - install_phase.call - end + install_phase.call expect(target_path).to be_a_directory expect(source_path).not_to exist @@ -33,9 +31,7 @@ target_path.mkpath expect { - shutup do - ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/artifact/nested_container_spec.rb
@@ -5,9 +5,7 @@ InstallHelper.install_without_artifacts(c) end - shutup do - Hbc::Artifact::NestedContainer.new(cask).install_phase - end + Hbc::Artifact::NestedContainer.new(cask).install_phase expect(cask.staged_path.join("MyNestedApp.app")).to be_a_directory end
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/artifact/pkg_spec.rb
@@ -3,9 +3,7 @@ let(:fake_system_command) { class_double(Hbc::SystemCommand) } before(:each) do - shutup do - InstallHelper.install_without_artifacts(cask) - end + InstallHelper.install_without_artifacts(cask) end describe "install_phase" do @@ -19,9 +17,7 @@ print_stdout: true, ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/artifact/suite_spec.rb
@@ -11,9 +11,7 @@ end it "creates a suite containing the expected app" do - shutup do - install_phase.call - end + install_phase.call expect(target_path.join("Caffeine.app")).to exist end @@ -22,9 +20,7 @@ target_path.mkpath expect { - shutup do - install_phase.ca...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb
@@ -17,9 +17,7 @@ end it "installs both apps using the proper target directory" do - shutup do - install_phase.call - end + install_phase.call expect(target_path_mini).to be_a_directory expect(source_path_mini).not_to exist @@ -32,9 +30,7 @@ let(:cask) { Hbc::Cas...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/artifact/uninstall_no_zap_spec.rb
@@ -5,10 +5,8 @@ Hbc::Artifact::Zap.new(cask) } - before do - shutup do - InstallHelper.install_without_artifacts(cask) - end + before(:each) do + InstallHelper.install_without_artifacts(cask) end describe "#uninstall_phase" do
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/artifact/uninstall_zap_shared_examples.rb
@@ -3,11 +3,7 @@ let(:artifact) { described_class.new(cask, command: fake_system_command) } let(:fake_system_command) { Hbc::FakeSystemCommand } - subject do - shutup do - artifact.public_send(:"#{artifact_name}_phase") - end - end + subject { artifact.public_send(:"#{artifact_name}_phase") } ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/cask_spec.rb
@@ -39,19 +39,16 @@ end it "returns an instance of the Cask from a url" do - c = shutup do - Hbc::CaskLoader.load("file://#{tap_path}/Casks/local-caffeine.rb") - end + c = Hbc::CaskLoader.load("file://#{tap_path}/Casks/local-caffeine.rb") expect(c).to be_kind_of(Hbc::Cask) ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/cli/fetch_spec.rb
@@ -8,41 +8,31 @@ } it "allows download the installer of a Cask" do - shutup do - Hbc::CLI::Fetch.run("local-transmission", "local-caffeine") - end + Hbc::CLI::Fetch.run("local-transmission", "local-caffeine") expect(Hbc::CurlDownloadStrategy.new(local_transmission).cached_location).to exist ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/cli/install_spec.rb
@@ -14,9 +14,7 @@ end it "allows staging and activation of multiple Casks at once" do - shutup do - Hbc::CLI::Install.run("local-transmission", "local-caffeine") - end + Hbc::CLI::Install.run("local-transmission", "local-caffeine") expect(Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cas...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/cli/list_spec.rb
@@ -48,9 +48,7 @@ it "lists the installed files for those Casks" do casks.each(&InstallHelper.method(:install_without_artifacts_with_caskfile)) - shutup do - Hbc::Artifact::App.new(transmission).install_phase - end + Hbc::Artifact::App.new(transmission).install_phase expect ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/cli/outdated_spec.rb
@@ -10,9 +10,8 @@ end before do - shutup do - installed.each { |cask| InstallHelper.install_with_caskfile(cask) } - end + installed.each { |cask| InstallHelper.install_with_caskfile(cask) } + allow_any_instance_of(described_class).to receive(:verbose?).and_return(true) end
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/cli/reinstall_spec.rb
@@ -2,9 +2,7 @@ it "displays the reinstallation progress" do caffeine = Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/local-caffeine.rb") - shutup do - Hbc::Installer.new(caffeine).install - end + Hbc::Installer.new(caffeine).install output = Regexp.new <<-EOS.undent ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/cli/search_spec.rb
@@ -75,9 +75,7 @@ end it "highlights installed packages" do - shutup do - Hbc::CLI::Install.run("local-caffeine") - end + Hbc::CLI::Install.run("local-caffeine") expect(Hbc::CLI::Search.highlight_installed("local-caffeine")).to eq(pretty_installed("local-caffeine")) end
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/cli/style_spec.rb
@@ -5,9 +5,7 @@ let(:args) { [] } let(:cli) { described_class.new(*args) } - around do |example| - shutup { example.run } - end + around(&:run) describe "#run" do subject { cli.run }
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/cli/uninstall_spec.rb
@@ -2,9 +2,7 @@ it "displays the uninstallation progress" do caffeine = Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/local-caffeine.rb") - shutup do - Hbc::Installer.new(caffeine).install - end + Hbc::Installer.new(caffeine).install output = Regexp.new <<-EOS.undent ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/cli/zap_spec.rb
@@ -9,17 +9,13 @@ caffeine = Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/local-caffeine.rb") transmission = Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/local-transmission.rb") - shutup do - Hbc::Installer.new(caffeine).install - Hbc::Installer.new(transmission).i...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/cli_spec.rb
@@ -17,7 +17,7 @@ cli = described_class.new("--language=en") expect(cli).to receive(:detect_command_and_arguments).with(no_args) expect(cli).to receive(:exit).with(1) - shutup { cli.run } + cli.run end context "when no option is specified" do @@ -36,10 +36,6 @@ allow(noop_command).to...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/container/naked_spec.rb
@@ -13,9 +13,7 @@ container = Hbc::Container::Naked.new(cask, path, Hbc::FakeSystemCommand) expect { - shutup do - container.extract - end + container.extract }.not_to raise_error expect(Hbc::FakeSystemCommand.system_calls[expected_command]).to eq(1)
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/depends_on_spec.rb
@@ -3,9 +3,7 @@ describe "Satisfy Dependencies and Requirements", :cask do subject { lambda do - shutup do - Hbc::Installer.new(cask).install - end + Hbc::Installer.new(cask).install end }
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/download_strategy_spec.rb
@@ -23,9 +23,7 @@ it "calls curl with default arguments for a simple Cask" do allow(downloader).to receive(:curl) - shutup do - downloader.fetch - end + downloader.fetch expect(downloader).to have_received(:curl).with( cask.url.to_s, @@ -41,9 +39,7 @@ curl_...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/dsl_spec.rb
@@ -36,9 +36,7 @@ it "will simply warn, not throw an exception" do expect { - shutup do - attempt_unknown_method.call - end + attempt_unknown_method.call }.not_to raise_error end end @@ -78,12 +76,10 @@ it "may use deprecated DSL version hash syntax" do ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/installer_spec.rb
@@ -7,9 +7,7 @@ it "downloads and installs a nice fresh Cask" do caffeine = Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/local-caffeine.rb") - shutup do - Hbc::Installer.new(caffeine).install - end + Hbc::Installer.new(caffeine).install expect(Hbc.caskroom.joi...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/pkg_spec.rb
@@ -88,9 +88,7 @@ allow(pkg).to receive(:root).and_return(fake_root) allow(pkg).to receive(:forget) - shutup do - pkg.uninstall - end + pkg.uninstall expect(fake_dir).to be_a_directory expect(fake_file).not_to be_a_file
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/staged_spec.rb
@@ -6,10 +6,7 @@ let(:cask) { Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/local-transmission.rb") } let(:installer) { Hbc::Installer.new(cask) } it "fetches the bundle ID from a staged cask" do - shutup do - installer.install - end - + installer.install expect...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/system_command_spec.rb
@@ -56,7 +56,7 @@ shared_examples "it returns '1 2 3 4 5 6'" do describe "its result" do - subject { shutup { described_class.run(command, options) } } + subject { described_class.run(command, options) } it { is_expected.to be_a_success } its(:stdout) { is_expected.to eq(...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cask/verify/checksum_spec.rb
@@ -7,10 +7,6 @@ allow(cask).to receive(:sha256).and_return(sha256) end - around do |example| - shutup { example.run } - end - describe ".me?" do subject { described_class.me?(cask) }
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/checksum_verification_spec.rb
@@ -11,25 +11,21 @@ def formula(&block) describe "#brew" do it "does not raise an error when the checksum matches" do expect { - shutup do - f = formula do - sha256 TESTBALL_SHA256 - end - - f.brew {} + f = formula do + sha256 TESTBALL_SHA256 ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cleanup_spec.rb
@@ -18,19 +18,15 @@ describe "::cleanup" do it "removes .DS_Store files" do - shutup do - described_class.cleanup - end + described_class.cleanup expect(ds_store).not_to exist end it "doesn't remove anything if `--dry-run` is specified" do ARGV << "--dry-run" ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/analytics_spec.rb
@@ -1,9 +1,7 @@ describe "brew analytics", :integration_test do before(:each) do HOMEBREW_REPOSITORY.cd do - shutup do - system "git", "init" - end + system "git", "init" end end
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/bundle_spec.rb
@@ -4,10 +4,8 @@ setup_remote_tap "homebrew/bundle" HOMEBREW_REPOSITORY.cd do - shutup do - system "git", "init" - system "git", "commit", "--allow-empty", "-m", "This is a test commit" - end + system "git", "init" + system "git", "commit", "--allow-empty", ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/cask_spec.rb
@@ -2,9 +2,8 @@ describe "list" do it "returns a list of installed Casks" do setup_remote_tap("caskroom/cask") - shutup do - expect { brew "cask", "list" }.to be_a_success - end + + expect { brew "cask", "list" }.to be_a_success end end end
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/desc_spec.rb
@@ -30,9 +30,7 @@ it "creates a description cache" do expect(desc_cache).not_to exist - shutup do - expect { brew "desc", "--description", "testball" }.to be_a_success - end + expect { brew "desc", "--description", "testball" }.to be_a_success expect(desc_cache).to exist ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/fetch_spec.rb
@@ -4,9 +4,7 @@ expect(HOMEBREW_CACHE/"testball-0.1.tbz").not_to exist - shutup do - expect { brew "fetch", "testball" }.to be_a_success - end + expect { brew "fetch", "testball" }.to be_a_success expect(HOMEBREW_CACHE/"testball-0.1.tbz").to exist end
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/install_spec.rb
@@ -101,9 +101,7 @@ .and not_to_output.to_stderr .and be_a_success - shutup do - expect { brew "switch", "testball1", "3.0" }.to be_a_success - end + expect { brew "switch", "testball1", "3.0" }.to be_a_success expect { brew "install", "testball1" } .to output(/2.0 is already...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/link_spec.rb
@@ -9,19 +9,15 @@ it "does not fail if the given Formula is already linked" do setup_test_formula "testball1" - shutup do - expect { brew "install", "testball1" }.to be_a_success - expect { brew "link", "testball1" }.to be_a_success - end + expect { brew "install", "testball1" }.to be_a_suc...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/log_spec.rb
@@ -1,10 +1,8 @@ describe "brew log", :integration_test do it "shows the Git log for the Homebrew repository when no argument is given" do HOMEBREW_REPOSITORY.cd do - shutup do - system "git", "init" - system "git", "commit", "--allow-empty", "-m", "This is a test commit" - end + s...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/outdated_spec.rb
@@ -28,9 +28,7 @@ setup_test_formula "testball" (HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath - shutup do - expect { brew "pin", "testball" }.to be_a_success - end + expect { brew "pin", "testball" }.to be_a_success expect { brew "outdated", "--verbose" } .to outp...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/pin_spec.rb
@@ -3,10 +3,8 @@ setup_test_formula "testball" (HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath - shutup do - expect { brew "pin", "testball" }.to be_a_success - expect { brew "upgrade" }.to be_a_success - end + expect { brew "pin", "testball" }.to be_a_success + expect { brew "upgrade" }...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/reinstall_spec.rb
@@ -4,9 +4,7 @@ before(:each) do setup_test_formula "testball" - shutup do - expect { brew "install", "testball", "--with-foo" }.to be_a_success - end + expect { brew "install", "testball", "--with-foo" }.to be_a_success end it "reinstalls a Formula" do
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/switch_spec.rb
@@ -14,9 +14,7 @@ keg_only "just because" EOS - shutup do - expect { brew "install", "testball" }.to be_a_success - end + expect { brew "install", "testball" }.to be_a_success testball_rack = HOMEBREW_CELLAR/"testball" FileUtils.cp_r testball_rack/"0.1", testball_rack/"0.2"
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/uninstall_spec.rb
@@ -2,9 +2,7 @@ describe "brew uninstall", :integration_test do it "uninstalls a given Formula" do - shutup do - expect { brew "install", testball }.to be_a_success - end + expect { brew "install", testball }.to be_a_success expect { brew "uninstall", "--force", testball } .to output(/...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/unlink_spec.rb
@@ -2,9 +2,7 @@ it "unlinks a Formula" do setup_test_formula "testball" - shutup do - expect { brew "install", "testball" }.to be_a_success - end + expect { brew "install", "testball" }.to be_a_success expect { brew "unlink", "--dry-run", "testball" } .to output(/Would remove/).to_...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/unpack_spec.rb
@@ -3,10 +3,8 @@ setup_test_formula "testball" mktmpdir do |path| - shutup do - expect { brew "unpack", "testball", "--destdir=#{path}" } - .to be_a_success - end + expect { brew "unpack", "testball", "--destdir=#{path}" } + .to be_a_success expect(path/"testba...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/unpin_spec.rb
@@ -3,11 +3,9 @@ setup_test_formula "testball" (HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath - shutup do - expect { brew "pin", "testball" }.to be_a_success - expect { brew "unpin", "testball" }.to be_a_success - expect { brew "upgrade" }.to be_a_success - end + expect { brew "pin", ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/cmd/upgrade_spec.rb
@@ -3,9 +3,7 @@ setup_test_formula "testball" (HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath - shutup do - expect { brew "upgrade" }.to be_a_success - end + expect { brew "upgrade" }.to be_a_success expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory end
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/dev-cmd/audit_spec.rb
@@ -174,13 +174,11 @@ class Foo < Formula specify "GithubGistFormula", :needs_compat do ENV.delete("HOMEBREW_DEVELOPER") - fa = shutup do - formula_auditor "foo", <<-EOS.undent - class Foo < GithubGistFormula - url "http://example.com/foo-1.0.tgz" - end - EO...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/dev-cmd/bottle_spec.rb
@@ -1,10 +1,8 @@ describe "brew bottle", :integration_test do it "builds a bottle for the given Formula" do begin - shutup do - expect { brew "install", "--build-bottle", testball } - .to be_a_success - end + expect { brew "install", "--build-bottle", testball } + .to be_a...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/dev-cmd/create_spec.rb
@@ -3,9 +3,7 @@ let(:formula_file) { CoreTap.new.formula_dir/"testball.rb" } it "creates a new Formula file for a given URL" do - shutup do - brew "create", url, "HOMEBREW_EDITOR" => "/bin/cat" - end + brew "create", url, "HOMEBREW_EDITOR" => "/bin/cat" expect(formula_file).to exist ex...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/dev-cmd/edit_spec.rb
@@ -1,9 +1,7 @@ describe "brew edit", :integration_test do it "opens a given Formula in an editor" do HOMEBREW_REPOSITORY.cd do - shutup do - system "git", "init" - end + system "git", "init" end setup_test_formula "testball"
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/dev-cmd/pull_spec.rb
@@ -8,10 +8,8 @@ it "fetches a patch from a GitHub commit or pull request and applies it", :needs_network do CoreTap.instance.path.cd do - shutup do - system "git", "init" - system "git", "checkout", "-b", "new-branch" - end + system "git", "init" + system "git", "checkout", ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/dev-cmd/tap_spec.rb
@@ -3,13 +3,11 @@ path = Tap::TAP_DIRECTORY/"homebrew/homebrew-foo" path.mkpath path.cd do - shutup do - system "git", "init" - system "git", "remote", "add", "origin", "https://github.com/Homebrew/homebrew-foo" - FileUtils.touch "readme" - system "git", "add", "--all" - ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/dev-cmd/test_spec.rb
@@ -14,9 +14,7 @@ end it "fails when a Formula has no test" do - shutup do - expect { brew "install", testball }.to be_a_success - end + expect { brew "install", testball }.to be_a_success expect { brew "test", testball } .to output(/testball defines no test/).to_stderr @@ -39,9 +37,...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/download_strategies_spec.rb
@@ -147,18 +147,14 @@ end def git_commit_all - shutup do - system "git", "add", "--all" - system "git", "commit", "-m", "commit number #{@commit_id}" - @commit_id += 1 - end + system "git", "add", "--all" + system "git", "commit", "-m", "commit number #{@commit_id}" + @commit_id +=...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/formula_installer_bottle_spec.rb
@@ -17,9 +17,7 @@ def temporarily_install_bottle(formula) expect(formula).to be_bottled expect(formula).to pour_bottle - shutup do - described_class.new(formula).install - end + described_class.new(formula).install keg = Keg.new(formula.prefix)
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/formula_installer_spec.rb
@@ -18,9 +18,7 @@ def temporary_install(formula) installer = described_class.new(formula) - shutup do - installer.install - end + installer.install keg = Keg.new(formula.prefix)
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/formula_spec.rb
@@ -582,11 +582,9 @@ cached_location.cd do FileUtils.touch "LICENSE" - shutup do - system("git", "init") - system("git", "add", "--all") - system("git", "commit", "-m", "Initial commit") - end + system("git", "init") + system("git", "add", "--all") + system("g...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/formulary_spec.rb
@@ -84,10 +84,7 @@ class Wrong#{subject.class_s(formula_name)} < Formula end it "returns a Formula when given a URL" do - formula = shutup do - subject.factory("file://#{formula_path}") - end - + formula = subject.factory("file://#{formula_path}") expect(formula).to be_kind_of(F...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/language/go_spec.rb
@@ -7,9 +7,7 @@ expect(described_class).to receive(:opoo).once mktmpdir do |path| - shutup do - described_class.stage_deps [], path - end + described_class.stage_deps [], path end end end
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/migrator_spec.rb
@@ -81,9 +81,7 @@ specify "#move_to_new_directory" do keg.unlink - shutup do - subject.move_to_new_directory - end + subject.move_to_new_directory expect(new_keg_record).to be_a_directory expect(new_keg_record/"bin").to be_a_directory @@ -117,9 +115,7 @@ expect(HOMEBREW_LINKED_K...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/missing_formula_spec.rb
@@ -148,13 +148,11 @@ (tap_path/"deleted-formula.rb").write "placeholder" tap_path.cd do - shutup do - system "git", "init" - system "git", "add", "--all" - system "git", "commit", "-m", "initial state" - system "git", "rm", "deleted-formula.rb" - syst...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/patching_spec.rb
@@ -21,38 +21,32 @@ def formula(name = "formula_name", path: Formulary.core_path(name), spec: :stabl matcher :be_patched do match do |formula| - shutup do - formula.brew do - formula.patch - s = File.read("libexec/NOOP") - expect(s).not_to include("NOOP"), "libexec/NOOP ...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/resource_spec.rb
@@ -126,9 +126,7 @@ expect(fn).to receive(:verify_checksum).and_raise(ChecksumMissingError) expect(fn).to receive(:sha256) - shutup do - subject.verify_download_integrity(fn) - end + subject.verify_download_integrity(fn) end specify "#verify_download_integrity_mismatch" do @@ -138,10 +...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/sandbox_spec.rb
@@ -37,11 +37,9 @@ describe "#exec" do it "fails when writing to file not specified with ##allow_write" do - shutup do - expect { - subject.exec "touch", file - }.to raise_error(ErrorDuringExecution) - end + expect { + subject.exec "touch", file + }.to raise_e...
true
Other
Homebrew
brew
2ad3a87045246f89aa267251315d660f663c42f2.json
Silence all specs by default.
Library/Homebrew/test/spec_helper.rb
@@ -19,7 +19,6 @@ require "global" require "tap" -require "test/support/helper/shutup" require "test/support/helper/fixtures" require "test/support/helper/formula" require "test/support/helper/mktmpdir" @@ -44,7 +43,6 @@ config.filter_run_when_matching :focus - config.include(Test::Helper::Shutup) con...
true