mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 06:43:06 +02:00
tests: Support any character in the task brackets
This commit is contained in:
parent
0809f1cc87
commit
5aba848e19
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class IntegrationTest(object):
|
|||
# Helper function that fills in {uuid} placeholders with correct UUIDs
|
||||
def fill_uuid(line):
|
||||
# Tasks in testing can have only alphanumerical descriptions
|
||||
match = re.match(r'\s*\* \[ \] (?P<desc>[a-zA-Z0-9 ]*)(?<!\s)', line)
|
||||
match = re.match(r'\s*\* \[.\] (?P<desc>[a-zA-Z0-9 ]*)(?<!\s)', line)
|
||||
if not match:
|
||||
return line
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue