mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdStart: Do not assume :all hint means now
Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
This commit is contained in:
parent
6a52a412ba
commit
4aacba47df
2 changed files with 14 additions and 8 deletions
|
@ -263,6 +263,10 @@ class TestStart(TestCase):
|
|||
code, out, err = self.t.runError("start 2h ago proja")
|
||||
self.assertIn("The end of a date range must be after the start.", err)
|
||||
|
||||
def test_start_will_error_with_all_hint(self):
|
||||
"""Start will return an error when passed the :all hint"""
|
||||
code, out, err = self.t.runError("start :all proja")
|
||||
|
||||
if __name__ == "__main__":
|
||||
from simpletap import TAPTestRunner
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue