Unit Tests - oldest, tag

- Fixed oldest.t unit tests that relied on "task oldest 3" instead of
  the new "task oldest limit:3".
- Fixed tag.t so that it uses example tags +one +two instead of the
  original +1 +2, because when it comes time to remove those tags
  with -1 -2, the tags are interpreted as a malformed sequence.
This commit is contained in:
Paul Beckingham
2009-06-18 23:23:07 -04:00
parent 3ffb855956
commit 20bd2cf594
2 changed files with 10 additions and 10 deletions

View File

@@ -78,7 +78,7 @@ like ($output, qr/nine/, 'oldest: nine');
like ($output, qr/ten/, 'oldest: ten');
unlike ($output, qr/eleven/, 'no: eleven');
$output = qx{../task rc:oldest.rc oldest 3};
$output = qx{../task rc:oldest.rc oldest limit:3};
like ($output, qr/one/, 'oldest: one');
like ($output, qr/two/, 'oldest: two');
like ($output, qr/three/, 'oldest: three');
@@ -104,7 +104,7 @@ like ($output, qr/nine/, 'newest: nine');
like ($output, qr/ten/, 'newest: ten');
like ($output, qr/eleven/, 'newest: eleven');
$output = qx{../task rc:oldest.rc newest 3};
$output = qx{../task rc:oldest.rc newest limit:3};
unlike ($output, qr/one/, 'no: one');
unlike ($output, qr/two/, 'no: two');
unlike ($output, qr/three/, 'no: three');