Unit Tests

- Corrected all unit tests that used the old syntax "task done 1" to
  use the new syntax "task 1 done".  Similarly, "task 1 ..." is now
  "task 1 modify ...".
This commit is contained in:
Paul Beckingham 2011-07-31 19:03:19 -04:00
parent 9ce7f63d85
commit ac7bcc81ee
48 changed files with 177 additions and 177 deletions

View file

@ -53,7 +53,7 @@ like ($output, qr/\033\[31mshould be red\s+\033\[0m/, 'red in second task');
# Prove that +nonag suppresses nagging when a low priority task is completed
# ahead of a high priority one.
$output = qx{../src/task rc:special.rc done 2};
$output = qx{../src/task rc:special.rc 2 done};
unlike ($output, qr/NAG/, '+nonag suppressed nagging for task 2');
# Cleanup.