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

@@ -41,7 +41,7 @@ if (open my $fh, '>', 'bug_concat.rc')
# When a task is modified like this:
#
# % task 1 This is a new description
# % task 1 modify This is a new description
#
# The arguments are concatenated thus:
#
@@ -51,7 +51,7 @@ qx{../src/task rc:bug_concat.rc add This is the original text};
my $output = qx{../src/task rc:bug_concat.rc info 1};
like ($output, qr/Description\s+This is the original text\n/, 'original correct');
qx{../src/task rc:bug_concat.rc 1 This is the modified text};
qx{../src/task rc:bug_concat.rc 1 modify This is the modified text};
$output = qx{../src/task rc:bug_concat.rc info 1};
like ($output, qr/Description\s+This is the modified text\n/, 'modified correct');