From 9f78e87447f7a7b7832b48e92c7811261ff62e07 Mon Sep 17 00:00:00 2001 From: Renato Alves Date: Sat, 6 Jun 2015 04:18:13 +0100 Subject: [PATCH] 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. --- test/edit.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/edit.t b/test/edit.t index 5a2d9e71b..6062fada7 100755 --- a/test/edit.t +++ b/test/edit.t @@ -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"""