mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Tests: Error result in non-zero exit code
This commit is contained in:
parent
b14e997ae4
commit
93ace7de54
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ class TestLengthen(TestCase):
|
|||
def test_lengthen_open_interval(self):
|
||||
"""Lengthen an open interval"""
|
||||
self.t("start 30mins ago foo")
|
||||
code, out, err = self.t("lengthen @1 10mins")
|
||||
self.assertIn('Cannot lengthen open interval @1', out)
|
||||
code, out, err = self.t.runError("lengthen @1 10mins")
|
||||
self.assertIn('Cannot lengthen open interval @1', err)
|
||||
|
||||
# TODO Add :adjust tests.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue