Fix: #51: Add beginning and end delimiters to -only param to avoid

unwanted test function generation.
This commit is contained in:
Arne Van Maele 2023-12-19 14:09:49 +01:00 committed by arnevm123
parent e0a3e70e48
commit 73e4c18045

View file

@ -39,7 +39,7 @@ function gotests.func_test()
return
end
add_test { "-only", ns.name }
add_test { "-only", "^" .. ns.name .. "$" }
end
---generate unit tests for all functions in current file