repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-allow-untrusted.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-allow-untrusted.rb
cask "with-allow-untrusted" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "Fancy.pkg", allow_untrusted: true uninstall pkgutil: "my.fancy.package.*" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-failure.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-failure.rb
cask "with-depends-on-macos-failure" do # guarantee a mismatched release on_big_sur :or_older do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" end on_ventura :or_newer do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab3...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-pkgutil.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-pkgutil.rb
cask "with-zap-pkgutil" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "Fancy.pkg" zap pkgutil: "my.fancy.package.*" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic.rb
cask "with-depends-on-cask-cyclic" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-depends-on-cask-cyclic" depends_on cask: "local-caffeine" depends_on cask: "with-depends-on-cask...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/container-7z.rb
Library/Homebrew/test/support/fixtures/cask/Casks/container-7z.rb
cask "container-7z" do version "1.2.3" sha256 "3f9542ace85ed5f88549e2d0ea82210f8ddc87e0defbb78469d3aed719b3c964" url "file://#{TEST_FIXTURE_DIR}/cask/container.7z" homepage "https://brew.sh/container-7z" depends_on formula: "unar" app "container" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-with-checksum.rb
Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-with-checksum.rb
cask "version-latest-with-checksum" do version :latest sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-correct.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-correct.rb
cask "with-two-apps-correct" do version "1.2.3" sha256 "3178fbfd1ea5d87a2a0662a4eb599ebc9a03888e73f37538d9f3f6ee69d2368e" url "file://#{TEST_FIXTURE_DIR}/cask/caffeines.zip" homepage "https://brew.sh/" app "Caffeine Mini.app" app "Caffeine Pro.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-signal.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-signal.rb
cask "with-zap-signal" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" zap signal: [ ["TERM", "my.fancy.package.app"], ["KILL", "my.fan...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-launchctl-wildcard.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-launchctl-wildcard.rb
cask "with-uninstall-launchctl-wildcard" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyApp.zip" homepage "https://brew.sh/fancy" app "Fancy.app" uninstall launchctl: "my.fancy.package.service.*" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion.rb
cask "with-shellcompletion" do version "1.2.3" sha256 "957978d9b30adfda8e1f914ba8c8019e016545c8f7e16c6ab0234d189fac8146" url "file://#{TEST_FIXTURE_DIR}/cask/AppWithShellCompletion.zip" homepage "https://brew.sh/with-autodetected-manpage-section" bash_completion "test.bash" fish_completion "test.fish" z...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission-zip.rb
Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission-zip.rb
cask "local-transmission-zip" do version "2.61" sha256 "5e96aeb365aa8fabd51bb0d85f5f2bfe0135d392bb2f4120aa6b8171415906da" url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.zip" name "Transmission" desc "BitTorrent client" homepage "https://transmissionbt.com/" app "Transmission.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/local-caffeine.rb
Library/Homebrew/test/support/fixtures/cask/Casks/local-caffeine.rb
cask "local-caffeine" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" zap trash: "#{TEST_FIXTURE_DIR}/cask/caffeine/org.example.caffeine.plist" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/latest.rb
Library/Homebrew/test/support/fixtures/cask/Casks/latest.rb
cask "latest" do version :latest sha256 :no_check url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-appcast" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-os.rb
Library/Homebrew/test/support/fixtures/cask/Casks/sha256-os.rb
cask "sha256-os" do arch arm: "arm", intel: "intel" os macos: "darwin", linux: "linux" version "1.2.3" sha256 arm: "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94", intel: "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b", x86_64_linux: "8c62...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-signal.rb
Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-signal.rb
cask "with-uninstall-signal" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyPkg.zip" homepage "https://brew.sh/fancy-pkg" pkg "MyFancyPkg/Fancy.pkg" uninstall signal: [ ["TERM", "my.fancy.package.app"], ["KI...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/compat/with-depends-on-macos-string.rb
Library/Homebrew/test/support/fixtures/cask/Casks/compat/with-depends-on-macos-string.rb
cask "with-depends-on-macos-string" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-depends-on-macos-string" depends_on macos: MacOS.version.to_s app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-version-latest.rb
Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-version-latest.rb
cask "livecheck-version-latest" do version :latest sha256 :no_check # This cask is used in --online tests, so we use fake URLs to avoid impacting # real servers. The URL paths are specific enough that they'll be # understandable if they appear in local server logs. url "http://localhost/homebrew/test/cask/...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-installer-manual.rb
Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-installer-manual.rb
cask "livecheck-installer-manual" do version "1.2.3" sha256 "78c670559a609f5d89a5d75eee49e2a2dab48aa3ea36906d14d5f7104e483bb9" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine-incl-plist.zip" name "With Installer Manual" desc "Cask with a manual installer" homepage "https://brew.sh/" livecheck do url :...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-disabled-reference.rb
Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-disabled-reference.rb
cask "livecheck-disabled-reference" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" # This cask is used in --online tests, so we use fake URLs to avoid impacting # real servers. The URL paths are specific enough that they'll be # understandable if they appear in l...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-deprecated.rb
Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-deprecated.rb
cask "livecheck-deprecated" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" # This cask is used in --online tests, so we use fake URLs to avoid impacting # real servers. The URL paths are specific enough that they'll be # understandable if they appear in local ser...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-skip-reference.rb
Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-skip-reference.rb
cask "livecheck-skip-reference" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" # This cask is used in --online tests, so we use fake URLs to avoid impacting # real servers. The URL paths are specific enough that they'll be # understandable if they appear in local...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-url-unversioned-reference.rb
Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-url-unversioned-reference.rb
cask "livecheck-url-unversioned-reference" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" # This cask is used in --online tests, so we use fake URLs to avoid impacting # real servers. The URL paths are specific enough that they'll be # understandable if they appe...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-deprecated-reference.rb
Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-deprecated-reference.rb
cask "livecheck-deprecated-reference" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" # This cask is used in --online tests, so we use fake URLs to avoid impacting # real servers. The URL paths are specific enough that they'll be # understandable if they appear in...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-skip.rb
Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-skip.rb
cask "livecheck-skip" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" # This cask is used in --online tests, so we use fake URLs to avoid impacting # real servers. The URL paths are specific enough that they'll be # understandable if they appear in local server lo...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-disabled.rb
Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-disabled.rb
cask "livecheck-disabled" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" # This cask is used in --online tests, so we use fake URLs to avoid impacting # real servers. The URL paths are specific enough that they'll be # understandable if they appear in local serve...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-url-unversioned.rb
Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-url-unversioned.rb
cask "livecheck-url-unversioned" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" # This cask is used in --online tests, so we use fake URLs to avoid impacting # real servers. The URL paths are specific enough that they'll be # understandable if they appear in loca...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-extract-plist.rb
Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-extract-plist.rb
cask "livecheck-extract-plist" do version "1.2.3" sha256 "78c670559a609f5d89a5d75eee49e2a2dab48aa3ea36906d14d5f7104e483bb9" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine-suite.zip" name "With Extract Plist Livecheck" desc "Cask with a an ExtractPlist livecheck strategy" homepage "https://brew.sh/" livec...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-version-latest-reference.rb
Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-version-latest-reference.rb
cask "livecheck-version-latest-reference" do version :latest sha256 :no_check # This cask is used in --online tests, so we use fake URLs to avoid impacting # real servers. The URL paths are specific enough that they'll be # understandable if they appear in local server logs. url "http://localhost/homebrew/...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-bad-release.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-bad-release.rb
cask "invalid-depends-on-macos-bad-release" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/invalid-depends-on-macos-bad-release" depends_on macos: :no_such_release app "Caffeine.app"...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-conflicting-forms.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-conflicting-forms.rb
# frozen_string_literal: true cask "invalid-depends-on-macos-conflicting-forms" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/invalid-depends-on-macos-conflicting-forms" depends_on ma...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-homepage.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-homepage.rb
cask "invalid-two-homepage" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" homepage "https://www.brew.sh/local-caffeine" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-version.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-version.rb
cask "invalid-header-version" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-stage-only-conflict.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-stage-only-conflict.rb
cask "invalid-stage-only-conflict" do version "2.61" sha256 "e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68" url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg" homepage "https://brew.sh/invalid-stage-only-conflict" app "Transmission.app" stage_only true end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-url.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-url.rb
cask "invalid-two-url" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" url "https://brew.sh/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-generic-artifact-no-target.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-generic-artifact-no-target.rb
cask "invalid-generic-artifact-no-target" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/with-generic-artifact" artifact "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-token-mismatch.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-token-mismatch.rb
cask "invalid-header-token-mismatch-this-text-does-not-belong" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/conflicts-with-disabled-key.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/conflicts-with-disabled-key.rb
cask "conflicts-with-disabled-key" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/conflicts-with-disabled-key" conflicts_with formula: "some-formula" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-arch-value.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-arch-value.rb
cask "invalid-depends-on-arch-value" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/invalid-depends-on-arch-value" depends_on arch: :no_such_arch app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-manpage-no-section.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-manpage-no-section.rb
cask "invalid-manpage-no-section" do version "1.2.3" sha256 "68b7e71a2ca7585b004f52652749589941e3029ff0884e8aa3b099594e0282c0" url "file://#{TEST_FIXTURE_DIR}/cask/AppWithManpage.zip" homepage "https://brew.sh/with-generic-artifact" manpage "manpage" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-format.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-format.rb
cask "invalid-header-format", :invalid do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-conflicts-with-key.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-conflicts-with-key.rb
cask "invalid-conflicts-with-key" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/invalid-conflicts-with-key" conflicts_with no_such_key: "unar" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-key.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-key.rb
cask "invalid-depends-on-key" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/invalid-depends-on-key" depends_on no_such_key: "unar" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-arch.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-arch.rb
cask "invalid-two-arch" do arch arm: "arm", intel: "intel" arch arm: "amd64", intel: "x86_64" version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-version.rb
Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-version.rb
cask "invalid-two-version" do version "1.2.3" version "2.0" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/auto-updates.rb
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/auto-updates.rb
cask "auto-updates" do version "2.57" sha256 "5633c3a0f2e572cbf021507dec78c50998b398c343232bdfc7e26221d0a5db4d" url "file://#{TEST_FIXTURE_DIR}/cask/MyFancyApp.zip" homepage "https://brew.sh/MyFancyApp" auto_updates true app "MyFancyApp/MyFancyApp.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/will-fail-if-upgraded.rb
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/will-fail-if-upgraded.rb
cask "will-fail-if-upgraded" do version "1.2.2" sha256 "fab685fabf73d5a9382581ce8698fce9408f5feaa49fa10d9bc6c510493300f5" url "file://#{TEST_FIXTURE_DIR}/cask/container.tar.gz" homepage "https://brew.sh/container-tar-gz" app "container" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission.rb
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission.rb
cask "local-transmission" do version "2.60" sha256 "e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68" url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg" homepage "https://brew.sh/" app "Transmission.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum.rb
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum.rb
cask "bad-checksum" do version "1.2.2" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/renamed-app.rb
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/renamed-app.rb
cask "renamed-app" do version "1.0.0" sha256 "cf001ed6c81820e049dc7a353957dab8936b91f1956ee74ff0b3eb59791f1ad9" url "file://#{TEST_FIXTURE_DIR}/cask/old-app.tar.gz" homepage "https://brew.sh/" app "OldApp.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/version-latest.rb
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/version-latest.rb
cask "version-latest" do version :latest sha256 :no_check url "file://#{TEST_FIXTURE_DIR}/cask/caffeines.zip" homepage "https://brew.sh/" app "Caffeine Mini.app" app "Caffeine Pro.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum2.rb
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum2.rb
cask "bad-checksum2" do version "1.2.2" sha256 "fab685fabf73d5a9382581ce8698fce9408f5feaa49fa10d9bc6c510493300f5" url "file://#{TEST_FIXTURE_DIR}/cask/container.tar.gz" homepage "https://brew.sh/container-tar-gz" app "container" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission-zip.rb
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission-zip.rb
cask "local-transmission-zip" do version "2.60" sha256 "5e96aeb365aa8fabd51bb0d85f5f2bfe0135d392bb2f4120aa6b8171415906da" url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.zip" homepage "https://brew.sh/" app "Transmission.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-caffeine.rb
Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-caffeine.rb
cask "local-caffeine" do version "1.2.2" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/third-party/Casks/pharo.rb
Library/Homebrew/test/support/fixtures/third-party/Casks/pharo.rb
cask "pharo" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "https://brew.sh/ThirdParty-#{version}.dmg" name "Pharo" desc "Cask from a third-party tap" homepage "https://brew.sh/" app "ThirdParty.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/fixtures/third-party/Casks/third-party-cask.rb
Library/Homebrew/test/support/fixtures/third-party/Casks/third-party-cask.rb
cask "third-party-cask" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" url "https://brew.sh/ThirdParty.dmg" homepage "https://brew.sh/" app "ThirdParty.app" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/helper/fixtures.rb
Library/Homebrew/test/support/helper/fixtures.rb
# typed: true # frozen_string_literal: true module Test module Helper module Fixtures def dylib_path(name) MachOPathname.wrap("#{TEST_FIXTURE_DIR}/mach/#{name}.dylib") end def bundle_path(name) MachOPathname.wrap("#{TEST_FIXTURE_DIR}/mach/#{name}.bundle") end def c...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/helper/files.rb
Library/Homebrew/test/support/helper/files.rb
# typed: true # frozen_string_literal: true module Test module Helper module Files def self.find_files return [] unless File.exist?(TEST_TMPDIR) Find.find(TEST_TMPDIR) .reject { |f| File.basename(f) == ".DS_Store" } .reject { |f| TEST_DIRECTORIES.include?(Pathname(f...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/helper/mktmpdir.rb
Library/Homebrew/test/support/helper/mktmpdir.rb
# frozen_string_literal: true module Test module Helper module MkTmpDir def mktmpdir(prefix_suffix = nil) new_dir = Pathname.new(Dir.mktmpdir(prefix_suffix, HOMEBREW_TEMP)) return yield new_dir if block_given? new_dir end end end end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/helper/integration_mocks.rb
Library/Homebrew/test/support/helper/integration_mocks.rb
# typed: true # frozen_string_literal: true module Homebrew module Diagnostic class Checks def check_integration_test "This is an integration test" if ENV["HOMEBREW_INTEGRATION_TEST"] end end end def exec(*args) if ENV["HOMEBREW_TESTS_COVERAGE"] && ENV["HOMEBREW_INTEGRATION_TEST"...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/helper/formula.rb
Library/Homebrew/test/support/helper/formula.rb
# frozen_string_literal: true require "formulary" module Test module Helper module Formula def formula(name = "formula_name", path: nil, spec: :stable, alias_path: nil, tap: nil, &block) path ||= Formulary.find_formula_in_tap(name, tap || CoreTap.instance) Class.new(::Formula, &block).new(...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/helper/cask.rb
Library/Homebrew/test/support/helper/cask.rb
# frozen_string_literal: true require "cask/cask_loader" module Test module Helper module Cask def stub_cask_loader(cask, ref = cask.token, call_original: false) allow(::Cask::CaskLoader).to receive(:for).and_call_original if call_original loader = ::Cask::CaskLoader::FromInstanceLoader.n...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/helper/cmd/brew-verify-undefined.rb
Library/Homebrew/test/support/helper/cmd/brew-verify-undefined.rb
# typed: strict # frozen_string_literal: true require "cli/parser" require "utils/output" UNDEFINED_CONSTANTS = %w[ AbstractDownloadStrategy Addressable Base64 CacheStore Cask::Cask Cask::CaskLoader Completions CSV Formula Formulary GitRepository Homebrew::API Homebrew::Manpages Homebrew::...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/helper/cask/install_helper.rb
Library/Homebrew/test/support/helper/cask/install_helper.rb
# typed: true # frozen_string_literal: true require "cask/installer" module InstallHelper module_function def self.install_without_artifacts(cask) Cask::Installer.new(cask).tap do |i| i.download i.extract_primary_container end end def self.install_without_artifacts_with_caskfile(cask) ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/helper/cask/never_sudo_system_command.rb
Library/Homebrew/test/support/helper/cask/never_sudo_system_command.rb
# typed: true # frozen_string_literal: true require "system_command" class NeverSudoSystemCommand < SystemCommand def self.run(command, **options) super(command, **options.merge(sudo: false, sudo_as_root: false)) end end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb
Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb
# frozen_string_literal: true require "open3" require "formula_installer" require "uninstall" RSpec::Matchers.define_negated_matcher :be_a_failure, :be_a_success # These shared contexts starting with `when` don't make sense. RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWording extend ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/helper/spec/shared_context/homebrew_cask.rb
Library/Homebrew/test/support/helper/spec/shared_context/homebrew_cask.rb
# frozen_string_literal: true require "cask/config" require "cask/cache" require "test/support/helper/cask/install_helper" require "test/support/helper/cask/never_sudo_system_command" module Cask class Config DEFAULT_DIRS_PATHNAMES = { appdir: Pathname(TEST_TMPDIR)/"cask-appdir", keyb...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb
Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb
# frozen_string_literal: true RSpec.shared_examples "formulae exist" do |array| array.each do |f| it "#{f} formula exists", :needs_homebrew_core do core_tap = Pathname("#{HOMEBREW_LIBRARY_PATH}/../Taps/homebrew/homebrew-core") formula_paths = core_tap.glob("Formula/**/#{f}.rb") alias_path = cor...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/lib/startup/config.rb
Library/Homebrew/test/support/lib/startup/config.rb
# typed: true # frozen_string_literal: true raise "HOMEBREW_BREW_FILE was not exported! Please call bin/brew directly!" unless ENV["HOMEBREW_BREW_FILE"] HOMEBREW_ORIGINAL_BREW_FILE = Pathname.new(ENV.fetch("HOMEBREW_ORIGINAL_BREW_FILE")).freeze HOMEBREW_BREW_FILE = Pathname.new(ENV.fetch("HOMEBREW_BREW_FILE")).freeze...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/support/extend/cachable.rb
Library/Homebrew/test/support/extend/cachable.rb
# frozen_string_literal: true raise "This needs to be required before Cachable gets loaded normally." if defined?(Cachable) # Collect all classes that mix in Cachable so that those caches can be cleared in-between tests. module Cachable private_class_method def self.included(klass) # It's difficult to backtrack...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/search_spec.rb
Library/Homebrew/test/cmd/search_spec.rb
# frozen_string_literal: true require "cmd/search" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::SearchCmd do it_behaves_like "parseable arguments" it "finds formula in search", :integration_test, :no_api do setup_test_formula "testball" expect { brew "search", "testball" } ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/--cache_spec.rb
Library/Homebrew/test/cmd/--cache_spec.rb
# frozen_string_literal: true require "cmd/--cache" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Cache do it_behaves_like "parseable arguments" it "prints all cache files for a given Formula", :integration_test do expect { brew "--cache", testball } .to output(%r{#{HOMEBREW_CA...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/desc_spec.rb
Library/Homebrew/test/cmd/desc_spec.rb
# frozen_string_literal: true require "cmd/desc" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Desc do it_behaves_like "parseable arguments" it "shows a given Formula's description", :integration_test do setup_test_formula "testball" expect { brew "desc", "testball" } .to ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/pin_spec.rb
Library/Homebrew/test/cmd/pin_spec.rb
# frozen_string_literal: true require "cmd/pin" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Pin do it_behaves_like "parseable arguments" it "pins a Formula's version", :integration_test do setup_test_formula "testball", tab_attributes: { installed_on_request: true } expect { b...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/unpin_spec.rb
Library/Homebrew/test/cmd/unpin_spec.rb
# frozen_string_literal: true require "cmd/shared_examples/args_parse" require "cmd/unpin" RSpec.describe Homebrew::Cmd::Unpin do it_behaves_like "parseable arguments" it "unpins a Formula's version", :integration_test do setup_test_formula "testball", tab_attributes: { installed_on_request: true } Formu...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/doctor_spec.rb
Library/Homebrew/test/cmd/doctor_spec.rb
# frozen_string_literal: true require "cmd/doctor" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Doctor do it_behaves_like "parseable arguments" specify "check_integration_test", :integration_test do expect { brew "doctor", "check_integration_test" } .to output(/This is an inte...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/completions_spec.rb
Library/Homebrew/test/cmd/completions_spec.rb
# frozen_string_literal: true require "cmd/completions" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::CompletionsCmd do it_behaves_like "parseable arguments" it "runs the status subcommand correctly", :integration_test do HOMEBREW_REPOSITORY.cd do system "git", "init" end ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/install_spec.rb
Library/Homebrew/test/cmd/install_spec.rb
# frozen_string_literal: true require "cmd/install" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::InstallCmd do include FileUtils it_behaves_like "parseable arguments" context "when using a bottle" do let(:formula_name) { "testball_bottle" } let(:formula_prefix) { HOMEBREW_CEL...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/bundle_spec.rb
Library/Homebrew/test/cmd/bundle_spec.rb
# frozen_string_literal: true require "cmd/bundle" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Bundle do it_behaves_like "parseable arguments" it "checks if a Brewfile's dependencies are satisfied", :integration_test do HOMEBREW_REPOSITORY.cd do system "git", "init" sys...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/mcp-server_spec.rb
Library/Homebrew/test/cmd/mcp-server_spec.rb
# frozen_string_literal: true RSpec.describe "brew mcp-server", type: :system do it "starts the MCP server", :integration_test do # This is the easiest way to handle a newline here. # rubocop:disable Style/StringConcatenation expect { brew_sh "mcp-server", "--ping" } .to output("==> Started Homebre...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/--version_spec.rb
Library/Homebrew/test/cmd/--version_spec.rb
# frozen_string_literal: true RSpec.describe "brew --version", type: :system do it "prints the Homebrew's version", :integration_test do expect { brew_sh "--version" } .to output(/^Homebrew #{Regexp.escape(HOMEBREW_VERSION)}\n/o).to_stdout .and not_to_output.to_stderr .and be_a_success end en...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/pyenv-sync_spec.rb
Library/Homebrew/test/cmd/pyenv-sync_spec.rb
# frozen_string_literal: true require "cmd/pyenv-sync" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::PyenvSync do it_behaves_like "parseable arguments" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/--repository_spec.rb
Library/Homebrew/test/cmd/--repository_spec.rb
# frozen_string_literal: true RSpec.describe "brew --repository", type: :system do it "prints Homebrew's repository", :integration_test do expect { brew_sh "--repository" } .to output("#{ENV.fetch("HOMEBREW_REPOSITORY")}\n").to_stdout .and not_to_output.to_stderr .and be_a_success end it "...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/source_spec.rb
Library/Homebrew/test/cmd/source_spec.rb
# frozen_string_literal: true require "cmd/source" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Source do it_behaves_like "parseable arguments" it "opens the Homebrew repo when no formula is specified", :integration_test do expect { brew "source", "HOMEBREW_BROWSER" => "echo" } ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/--caskroom_spec.rb
Library/Homebrew/test/cmd/--caskroom_spec.rb
# frozen_string_literal: true require "cmd/--caskroom" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Caskroom do it_behaves_like "parseable arguments" it "prints Homebrew's Caskroom", :integration_test do expect { brew_sh "--caskroom" } .to output("#{ENV.fetch("HOMEBREW_PREFIX"...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/gist-logs_spec.rb
Library/Homebrew/test/cmd/gist-logs_spec.rb
# frozen_string_literal: true require "cmd/gist-logs" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::GistLogs do it_behaves_like "parseable arguments" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/--prefix_spec.rb
Library/Homebrew/test/cmd/--prefix_spec.rb
# frozen_string_literal: true require "cmd/--prefix" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Prefix do it_behaves_like "parseable arguments" it "prints Homebrew's prefix", :integration_test do expect { brew_sh "--prefix" } .to output("#{ENV.fetch("HOMEBREW_PREFIX")}\n").t...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/migrate_spec.rb
Library/Homebrew/test/cmd/migrate_spec.rb
# frozen_string_literal: true require "cmd/migrate" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Migrate do it_behaves_like "parseable arguments" it "migrates a renamed Formula", :integration_test, :no_api do setup_test_formula "testball1" setup_test_formula "testball2" inst...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/rbenv-sync_spec.rb
Library/Homebrew/test/cmd/rbenv-sync_spec.rb
# frozen_string_literal: true require "cmd/rbenv-sync" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::RbenvSync do it_behaves_like "parseable arguments" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/tab_spec.rb
Library/Homebrew/test/cmd/tab_spec.rb
# frozen_string_literal: true require "cmd/tab" require "cmd/shared_examples/args_parse" require "tab" RSpec.describe Homebrew::Cmd::TabCmd do def installed_on_request?(formula) # `brew` subprocesses can change the tab, invalidating the cached values. Tab.clear_cache Tab.for_formula(formula).installed_o...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/analytics_spec.rb
Library/Homebrew/test/cmd/analytics_spec.rb
# frozen_string_literal: true require "cmd/analytics" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Analytics do it_behaves_like "parseable arguments" it "when HOMEBREW_NO_ANALYTICS is unset is disabled after running `brew analytics off`", :integration_test do HOMEBREW_REPOSITORY.cd ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/autoremove_spec.rb
Library/Homebrew/test/cmd/autoremove_spec.rb
# frozen_string_literal: true require "cmd/autoremove" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Autoremove do it_behaves_like "parseable arguments" describe "integration test" do let(:requested_formula) { Formula["testball1"] } let(:unused_formula) { Formula["testball2"] } ...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/leaves_spec.rb
Library/Homebrew/test/cmd/leaves_spec.rb
# frozen_string_literal: true require "cmd/leaves" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Leaves do it_behaves_like "parseable arguments" context "when there are no installed Formulae", :integration_test do it "prints nothing" do setup_test_formula "foo" setup_test...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/nodenv-sync_spec.rb
Library/Homebrew/test/cmd/nodenv-sync_spec.rb
# frozen_string_literal: true require "cmd/nodenv-sync" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::NodenvSync do it_behaves_like "parseable arguments" end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/deps_spec.rb
Library/Homebrew/test/cmd/deps_spec.rb
# frozen_string_literal: true require "cmd/deps" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Deps, :integration_test, :no_api do include FileUtils before do setup_test_formula "bar" setup_test_formula "foo" setup_test_formula "test" setup_test_formula "build" setup_...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/--cellar_spec.rb
Library/Homebrew/test/cmd/--cellar_spec.rb
# frozen_string_literal: true require "cmd/--cellar" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Cellar do it_behaves_like "parseable arguments" it "prints Homebrew's Cellar", :integration_test do expect { brew_sh "--cellar" } .to output("#{ENV.fetch("HOMEBREW_CELLAR")}\n").t...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/formulae_spec.rb
Library/Homebrew/test/cmd/formulae_spec.rb
# frozen_string_literal: true RSpec.describe "brew formulae", type: :system do it "prints all installed Formulae", :integration_test do expect { brew_sh "formulae" } .to be_a_success .and not_to_output.to_stderr end end
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/uses_spec.rb
Library/Homebrew/test/cmd/uses_spec.rb
# frozen_string_literal: true require "cli/named_args" require "cmd/shared_examples/args_parse" require "cmd/uses" require "fileutils" RSpec.describe Homebrew::Cmd::Uses do include FileUtils it_behaves_like "parseable arguments" it "prints the Formulae a given Formula is used by", :integration_test, :no_api d...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/unalias_spec.rb
Library/Homebrew/test/cmd/unalias_spec.rb
# frozen_string_literal: true require "cmd/unalias" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Unalias do it_behaves_like "parseable arguments" it "unsets an alias", :integration_test do expect { brew "alias", "foo=bar" } .to not_to_output.to_stdout .and not_to_output....
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/reinstall_spec.rb
Library/Homebrew/test/cmd/reinstall_spec.rb
# frozen_string_literal: true require "extend/ENV" require "cmd/reinstall" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::Reinstall do it_behaves_like "parseable arguments" it "reinstalls a Formula", :aggregate_failures, :integration_test do formula_name = "testball_bottle" formul...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false
Homebrew/brew
https://github.com/Homebrew/brew/blob/fe0a384e3a04605192726c149570fbe33a8996b0/Library/Homebrew/test/cmd/command_spec.rb
Library/Homebrew/test/cmd/command_spec.rb
# frozen_string_literal: true require "cmd/shared_examples/args_parse" require "cmd/command" RSpec.describe Homebrew::Cmd::Command do it_behaves_like "parseable arguments" it "returns the file for a given command", :integration_test do expect { brew "command", "info" } .to output(%r{#{Regexp.escape(HOM...
ruby
BSD-2-Clause
fe0a384e3a04605192726c149570fbe33a8996b0
2026-01-04T15:37:27.366412Z
false