aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMike McQuaid2017-05-14 15:08:47 +0100
committerGitHub2017-05-14 15:08:47 +0100
commit13efa8656e2abf91561ef5a249c25298157eecb9 (patch)
tree0ee4d323daafb2ff97cb50c67781e12e98812617 /Library/Homebrew/test
parentd0e3f3574f9260dba95cdb79ece8759a1c92eac0 (diff)
parent8205e61e6493f7c0a91c0311a321a80830f70bc3 (diff)
downloadbrew-13efa8656e2abf91561ef5a249c25298157eecb9.tar.bz2
Merge pull request #2620 from MikeMcQuaid/more-env-filtering-tweaks
More environment filtering tweaks
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/diagnostic_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/diagnostic_spec.rb b/Library/Homebrew/test/diagnostic_spec.rb
index 12a8e0c42..c4373671e 100644
--- a/Library/Homebrew/test/diagnostic_spec.rb
+++ b/Library/Homebrew/test/diagnostic_spec.rb
@@ -7,7 +7,7 @@ describe Homebrew::Diagnostic::Checks do
end
specify "#check_path_for_trailing_slashes" do
- ENV["PATH"] += File::PATH_SEPARATOR + "/foo/bar/"
+ ENV["HOMEBREW_PATH"] += File::PATH_SEPARATOR + "/foo/bar/"
expect(subject.check_path_for_trailing_slashes)
.to match("Some directories in your path end in a slash")
end