Update variable name

Co-Authored-By: RW <renewerner87@googlemail.com>
pull/418/head
Fenny 2020-05-27 22:54:20 +02:00
parent ce3d950971
commit d940948112
1 changed files with 2 additions and 2 deletions

View File

@ -254,11 +254,11 @@ func Benchmark_Router_Next(b *testing.B) {
defer app.ReleaseCtx(c)
for n := 0; n < b.N; n++ {
c.index = -1
c.indexRoute = -1
res = app.next(c)
}
utils.AssertEqual(b, true, res)
utils.AssertEqual(b, 31, c.index)
utils.AssertEqual(b, 31, c.indexRoute)
}
// go test -v ./... -run=^$ -bench=Benchmark_Route_Match -benchmem -count=4