aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/ENV_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/test/ENV_spec.rb b/Library/Homebrew/test/ENV_spec.rb
index 7b50ca1d4..07f6cdb6b 100644
--- a/Library/Homebrew/test/ENV_spec.rb
+++ b/Library/Homebrew/test/ENV_spec.rb
@@ -115,11 +115,11 @@ shared_examples EnvActivation do
describe "#prepend_path" do
it "prepends to a path" do
- subject.prepend_path "FOO", "/usr/bin"
- expect(subject["FOO"]).to eq("/usr/bin")
+ subject.prepend_path "FOO", "/usr/libexec"
+ expect(subject["FOO"]).to eq("/usr/libexec")
- subject.prepend_path "FOO", "/bin"
- expect(subject["FOO"]).to eq("/bin#{File::PATH_SEPARATOR}/usr/bin")
+ subject.prepend_path "FOO", "/usr"
+ expect(subject["FOO"]).to eq("/usr#{File::PATH_SEPARATOR}/usr/libexec")
end
end