diff options
| author | Mike McQuaid | 2017-10-28 19:48:21 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-11-03 14:50:17 +0000 |
| commit | c843fd2f12cdff5d0309b1665bb5ad29ac1d8164 (patch) | |
| tree | c09ea06f109692135e520e55b5666f0804f13c2f /Library/Homebrew/test | |
| parent | 302bc8be22c9f645a110815f52f252a78c666d0f (diff) | |
| download | brew-c843fd2f12cdff5d0309b1665bb5ad29ac1d8164.tar.bz2 | |
requirement: prepend rather than append PATH.
Otherwise this ends up behind e.g. `/usr/bin` so is pretty useless.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/requirement_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/requirement_spec.rb b/Library/Homebrew/test/requirement_spec.rb index 11a3da8f4..2d0d86c86 100644 --- a/Library/Homebrew/test/requirement_spec.rb +++ b/Library/Homebrew/test/requirement_spec.rb @@ -138,7 +138,7 @@ describe Requirement do end it "infers path from #satisfy result" do - expect(ENV).to receive(:append_path).with("PATH", Pathname.new("/foo/bar")) + expect(ENV).to receive(:prepend_path).with("PATH", Pathname.new("/foo/bar")) subject.satisfied? subject.modify_build_environment end |
