Improved test coverage

This commit is contained in:
2023-09-06 16:52:22 +02:00
parent bd91077f83
commit 3008940025
5 changed files with 80 additions and 71 deletions

View File

@ -46,10 +46,13 @@ data := router.LookupNoAlloc("GET", "/users/42", func(key string, value string)
PASS: TestStatic
PASS: TestParameter
PASS: TestWildcard
PASS: TestMap
PASS: TestMethods
PASS: TestGitHub
PASS: TestTrailingSlash
PASS: TestOverwrite
coverage: 82.5% of statements
PASS: TestInvalidMethod
coverage: 99.1% of statements
```
## Benchmarks