Tests: edit.t set VISUAL instead of EDITOR

VISUAL is checked first and used if available.
If the user has VISUAL defined on the environment, the test will have an
unexpected result.
This commit is contained in:
Renato Alves 2015-06-06 04:18:13 +01:00
parent 7517f0a9a0
commit 9f78e87447

View file

@ -43,7 +43,7 @@ class TestTaskEdit(TestCase):
# Workaround to always assume changes were introduced via "task edit"
self.editor = mkstemp_exec("echo '' >> $1\n")
self.t.env["EDITOR"] = self.editor
self.t.env["VISUAL"] = self.editor
def test_newline_description_edit(self):
"""task edit - parsing entries containing multiline descriptions"""