aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2016-01-17 13:07:46 -0800
committerMisty De Meo2016-01-17 13:07:46 -0800
commit066dd63a8710b1250310adee15c8070fc5d71164 (patch)
tree83e8c26626a30a32d44d32ad1d74b642971d7d2b /Library
parentcd0366da0d489093a9704b0e38569ebe7bd6f4e3 (diff)
downloadbrew-066dd63a8710b1250310adee15c8070fc5d71164.tar.bz2
test_edit: HOMEBREW_EDITOR takes precedence over EDITOR
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_integration_cmds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb
index 802b28335..eaab307b6 100644
--- a/Library/Homebrew/test/test_integration_cmds.rb
+++ b/Library/Homebrew/test/test_integration_cmds.rb
@@ -278,7 +278,7 @@ class IntegrationCommandTests < Homebrew::TestCase
formula_file.write content
assert_match "# something here",
- cmd("edit", "testball", {"EDITOR" => "/bin/cat"})
+ cmd("edit", "testball", {"HOMEBREW_EDITOR" => "/bin/cat"})
ensure
formula_file.unlink
(HOMEBREW_REPOSITORY/".git").unlink