Improved test coverage

This commit is contained in:
2023-09-06 11:44:04 +02:00
parent 7070897e70
commit bd91077f83
3 changed files with 60 additions and 10 deletions

View File

@ -130,6 +130,11 @@ begin:
return node.data
}
if lastWildcard != nil {
addParameter(lastWildcard.prefix, path[lastWildcardOffset:])
return lastWildcard.data
}
// node: /blog|feed
// path: /blog|
return empty