mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
validate: Restructured autoAdjust code
- First approach indicates there is no general case. Instead identifiable and correctable use cases will be gathered. No solution yet.
This commit is contained in:
parent
14ca159df4
commit
36455b5115
2 changed files with 39 additions and 36 deletions
|
@ -116,7 +116,7 @@ class TestTrack(TestCase):
|
|||
"""Test adding an overlapping interval fails"""
|
||||
self.t("track 20160709T1400 - 20160709T1500 foo")
|
||||
code, out, err = self.t.runError("track 20160709T1430 - 20160709T1530 foo")
|
||||
self.assertIn('You cannot overlap intervals. Adjust the start/end time, or specify the :adjust hint.', err)
|
||||
self.assertIn('You cannot overlap intervals. Correct the start/end time, or specify the :adjust hint.', err)
|
||||
|
||||
if __name__ == "__main__":
|
||||
from simpletap import TAPTestRunner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue