mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests - fix
- Fixed incorrect regex in hook format unit tests. Note that this doesn't show up in the tinderbox, because that version of task is not built with Lua support.
This commit is contained in:
parent
a5b57ec2ac
commit
eb1304ec41
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ if ($output =~ /PUC-Rio/)
|
|||
qx{../task rc:hook.rc add foo due:eom};
|
||||
$output = qx{../task rc:hook.rc long};
|
||||
|
||||
like ($output, qr/<(?:- )?\d+.+>/, 'format-countdown hook countdown -> <countdown>');
|
||||
like ($output, qr/<-?\d+\s\D+>/, 'format-countdown hook countdown -> <countdown>');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -59,7 +59,7 @@ if ($output =~ /PUC-Rio/)
|
|||
qx{../task rc:hook.rc add foo due:eom};
|
||||
$output = qx{../task rc:hook.rc long};
|
||||
|
||||
like ($output, qr/<(?:- )?\d+.+>/, 'format-countdown_compact hook countdown_compact -> <countdown_compact>');
|
||||
like ($output, qr/<-?\d+\D+>/, 'format-countdown_compact hook countdown_compact -> <countdown_compact>');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue