mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Unit Tests
- Corrected unit tests to match task output.
This commit is contained in:
parent
8497e86800
commit
6e1ad5207d
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ like ($output, qr/Tags\s+tag/, 'duplicate added tag');
|
|||
|
||||
# Test the output of the duplicate command - returning id of duplicated task
|
||||
$output = qx{../src/task rc:dup.rc 1 duplicate};
|
||||
like ($output, qr/Duplicated\s+1\s+'foo'/, 'duplicate output task id and description');
|
||||
like ($output, qr/Created\s+task\s+4/, 'duplicate output of new task id');
|
||||
like ($output, qr/Duplicated\stask\s1\s'foo'/, 'duplicate output task id and description');
|
||||
like ($output, qr/Created\s+task\s+4/, 'duplicate output of new task id');
|
||||
|
||||
# Cleanup.
|
||||
unlink 'pending.data';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue