aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/diagnostic_spec.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-05-27 13:34:59 +0100
committerMike McQuaid2017-05-27 13:34:59 +0100
commit945cfc7cb7b9d979a82ecb5a10d5ed35f8e5745a (patch)
tree0be7422eb61272bdb0233b5dd72977e58165bc3d /Library/Homebrew/test/diagnostic_spec.rb
parentfb33acbbe47162adf90e92cbb6b244f26a5a346e (diff)
downloadbrew-945cfc7cb7b9d979a82ecb5a10d5ed35f8e5745a.tar.bz2
diagnostic: move some more macOS doctor checks.
Move some `brew doctor` checks that are pretty macOS specific so they are only run on macOS.
Diffstat (limited to 'Library/Homebrew/test/diagnostic_spec.rb')
-rw-r--r--Library/Homebrew/test/diagnostic_spec.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/Library/Homebrew/test/diagnostic_spec.rb b/Library/Homebrew/test/diagnostic_spec.rb
index c4373671e..058b9823c 100644
--- a/Library/Homebrew/test/diagnostic_spec.rb
+++ b/Library/Homebrew/test/diagnostic_spec.rb
@@ -90,13 +90,6 @@ describe Homebrew::Diagnostic::Checks do
end
end
- specify "#check_homebrew_prefix" do
- ENV.delete("JENKINS_HOME")
- # the integration tests are run in a special prefix
- expect(subject.check_homebrew_prefix)
- .to match("Your Homebrew's prefix is not /usr/local.")
- end
-
specify "#check_user_path_1" do
bin = HOMEBREW_PREFIX/"bin"
sep = File::PATH_SEPARATOR