mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Unit test relied on capturing parentheses, which are no longer necessary.
This commit is contained in:
parent
255af9e110
commit
40aca079eb
1 changed files with 2 additions and 2 deletions
|
@ -70,9 +70,9 @@ $output = qx{../src/task rc:subst.rc info 1};
|
||||||
like ($output, qr/aaa ccc/, 'word deletion in description');
|
like ($output, qr/aaa ccc/, 'word deletion in description');
|
||||||
|
|
||||||
# Regexes
|
# Regexes
|
||||||
qx{../src/task rc:subst.rc rc.regex:on 1 modify "/c(c)./C/"};
|
qx{../src/task rc:subst.rc rc.regex:on 1 modify "/c{3}/CcC/"};
|
||||||
$output = qx{../src/task rc:subst.rc info 1};
|
$output = qx{../src/task rc:subst.rc info 1};
|
||||||
like ($output, qr/aaa cCc/, 'regex');
|
like ($output, qr/aaa CcC/, 'regex');
|
||||||
|
|
||||||
# Cleanup.
|
# Cleanup.
|
||||||
unlink 'pending.data';
|
unlink 'pending.data';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue