From 066dd63a8710b1250310adee15c8070fc5d71164 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sun, 17 Jan 2016 13:07:46 -0800 Subject: [PATCH] test_edit: HOMEBREW_EDITOR takes precedence over EDITOR --- Library/Homebrew/test/test_integration_cmds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb index 802b28335e..eaab307b66 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