Unit Tests

- Fixed unit test that relied on certain wording of the 'version'
  command output.
This commit is contained in:
Paul Beckingham
2011-10-08 10:48:50 -04:00
parent af2a29ce3b
commit 997ed7079a

View File

@@ -49,7 +49,7 @@ like ($output, qr/You must specify a command or a task to modify./m, 'missing co
# Test the version command.
$output = qx{../src/task rc:basic.rc version};
like ($output, qr/task $version/, 'version - task version number');
like ($output, qr/GNU\s+General\s+Public\s+License/, 'version - license');
like ($output, qr/MIT\slicense/, 'version - license');
like ($output, qr/http:\/\/taskwarrior\.org/, 'version - url');
# Test the _version command.