mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Fix test summary.t
- Make it work on single digit calendar weeks
This commit is contained in:
parent
0900c35767
commit
ac18340757
1 changed files with 2 additions and 2 deletions
|
@ -67,9 +67,9 @@ class TestSummary(TestCase):
|
||||||
code, out, err = self.t("summary :ids")
|
code, out, err = self.t("summary :ids")
|
||||||
|
|
||||||
self.assertRegexpMatches(out, """
|
self.assertRegexpMatches(out, """
|
||||||
Wk Date Day ID Tags ?Start ?End Time Total
|
Wk ?Date Day ID Tags ?Start ?End Time Total
|
||||||
[ -]+
|
[ -]+
|
||||||
W[0-9]{2} [0-9]{4}-[0-9]{2}-[0-9]{2} .{3} @1 [0-9]{1,2}:[0-9]{2}:[0-9]{2} [0-9]{1,2}:[0-9]{2}:[0-9]{2} 1:00:00 1:00:00
|
W[0-9]{1,2} [0-9]{4}-[0-9]{2}-[0-9]{2} .{3} @1 [0-9]{1,2}:[0-9]{2}:[0-9]{2} [0-9]{1,2}:[0-9]{2}:[0-9]{2} 1:00:00 1:00:00
|
||||||
|
|
||||||
[ ]+1:00:00
|
[ ]+1:00:00
|
||||||
""")
|
""")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue