Enhancement

- More consistent test of when adding or deleting a dependency.
- Update one unit test.
This commit is contained in:
Louis-Claude Canon 2012-05-05 10:06:19 +02:00 committed by Paul Beckingham
parent 20ae5fed81
commit 5ffb65b5ac
2 changed files with 8 additions and 1 deletions

View file

@ -50,7 +50,7 @@ qx{../src/task rc:dep.rc add Two};
# [2]
my $output = qx{../src/task rc:dep.rc 1 modify dep:-2};
like ($output, qr/Modified 0 tasks\./, 'dependencies - remove nonexistent dependency');
like ($output, qr/Could not delete a dependency on task 2 - not found\./, 'dependencies - remove nonexistent dependency');
# [3]
$output = qx{../src/task rc:dep.rc 1 modify dep:99};