mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
7517f0a9a0
commit
9f78e87447
1 changed files with 1 additions and 1 deletions
|
@ -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"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue