mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Unit Tests
- Modified testing to accomodate new split between stdout/stderr.
This commit is contained in:
parent
75822eed47
commit
da575c4043
185 changed files with 1591 additions and 1591 deletions
|
@ -47,11 +47,11 @@ if (open my $fh, '>', 'hook')
|
|||
ok (-r 'hook', 'Created hook');
|
||||
}
|
||||
|
||||
my $output = qx{../src/task rc:hook.rc version};
|
||||
my $output = qx{../src/task rc:hook.rc version 2>&1};
|
||||
if ($output =~ /PUC-Rio/)
|
||||
{
|
||||
# Test the hook.
|
||||
$output = qx{../src/task rc:hook.rc _version};
|
||||
$output = qx{../src/task rc:hook.rc _version 2>&1};
|
||||
like ($output, qr/^marker.+\b\w{7}\b/ms, 'Found marker before output');
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue