Improved test coverage

This commit is contained in:
Eduard Urbach 2023-09-06 16:52:22 +02:00
parent 763686679f
commit 0323126f2c
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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