test_edit: HOMEBREW_EDITOR takes precedence over EDITOR
This commit is contained in:
parent
cd0366da0d
commit
066dd63a87
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user