Fixes #337: The (sub) test names were not quoted before being used within the regex passed to -run and therefore caused go test to mis-evaluate the expression if there were parentheses contained. Uses https://pkg.go.dev/regexp#QuoteMeta to make it work for a wider range of characters.
Fixes #337: The (sub) test names were not quoted before being used within the regex passed to
-run
and therefore causedgo test
to mis-evaluate the expression if there were parentheses contained. Uses https://pkg.go.dev/regexp#QuoteMeta to make it work for a wider range of characters.