Improved test coverage
This commit is contained in:
parent
763686679f
commit
0323126f2c
5 changed files with 80 additions and 71 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue