mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Corrected test to expect an ISO date instead of an epoch.
This commit is contained in:
parent
ffb201a068
commit
464d0ec690
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ qx{../src/task rc:$rc 3 annotate note 2>&1};
|
|||
ok ($? == 0, "$ut: add annotation");
|
||||
|
||||
$output = qx{../src/task rc:$rc _get 3.annotations.1.entry 2>&1};
|
||||
like ($output, qr/^\d+$/, "$ut: <id>.annotations.1.entry");
|
||||
like ($output, qr/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/, "$ut: <id>.annotations.1.entry");
|
||||
|
||||
$output = qx{../src/task rc:$rc _get 3.annotations.1.description 2>&1};
|
||||
like ($output, qr/^note$/, "$ut: <id>.annotations.1.description");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue