mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Fixing duration tests
This commit is contained in:
parent
35570b89cd
commit
42e2bb0d1f
1 changed files with 3 additions and 3 deletions
|
@ -258,9 +258,9 @@ int main (int argc, char** argv)
|
|||
testParse (t, "semiannual", 10, 0, 6, 0, 0, 0, 0, 6 * month, "P6M");
|
||||
|
||||
testParse (t, "0sennight", 9, 0, 0, 0, 0, 0, 0, 0, "PT0S");
|
||||
testParse (t, "2 sennight", 10, 0, 0, 28, 0, 0, 0, 28 * day, "P14D");
|
||||
testParse (t, "10sennight", 10, 0, 0, 280, 0, 0, 0, 280 * day, "P140D");
|
||||
testParse (t, "1.5sennight", 11, 0, 0, 21, 0, 0, 0, 21 * day, "P10DT12H");
|
||||
testParse (t, "2 sennight", 10, 0, 0, 0, 0, 0, 0, 28 * day, "P28D");
|
||||
testParse (t, "10sennight", 10, 0, 0, 0, 0, 0, 0, 140 * day, "P140D");
|
||||
testParse (t, "1.5sennight", 11, 0, 0, 0, 0, 0, 0, 21 * day, "P21D");
|
||||
|
||||
ISO8601p left, right;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue