mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Fixed broken unit tests that use _version
- _verstion now outputs the short git sha1 id and not longer the task version when building from the git repository.
This commit is contained in:
parent
0cac03ad4a
commit
200fbe3334
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ if ($output =~ /PUC-Rio/)
|
|||
{
|
||||
# Test the hook.
|
||||
$output = qx{../src/task rc:hook.rc _version};
|
||||
like ($output, qr/\n\d\.\d+\.\d+/ms, 'Found marker after output');
|
||||
like ($output, qr/\n\w{7}/ms, 'Found marker after output');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue