[BREAKING] remove diff display from 'task undo'
TaskChampion does not make the necessary information available to accomplish this, but see #2928.
This commit is contained in:
committed by
Dustin J. Mitchell
parent
87467f72c7
commit
4b814bc602
@@ -74,6 +74,7 @@ class TestUndoStyle(TestCase):
|
||||
self.t("add one project:foo priority:H")
|
||||
self.t("1 modify +tag project:bar priority:")
|
||||
|
||||
@unittest.expectedFailure # undo diffs are not supported
|
||||
def test_undo_side_style(self):
|
||||
"""Test that 'rc.undo.style:side' generates the right output"""
|
||||
self.t.config("undo.style", "side")
|
||||
@@ -81,6 +82,7 @@ class TestUndoStyle(TestCase):
|
||||
self.assertNotRegex(out, "-tags:\s*\n\+tags:\s+tag")
|
||||
self.assertRegex(out, "tags\s+tag\s*")
|
||||
|
||||
@unittest.expectedFailure # undo diffs are not supported
|
||||
def test_undo_diff_style(self):
|
||||
"""Test that 'rc.undo.style:diff' generates the right output"""
|
||||
self.t.config("undo.style", "diff")
|
||||
|
||||
Reference in New Issue
Block a user