Skip to content

Commit

Permalink
Don't assign a variable for unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
Tit Petric authored and AlexVulaj committed Apr 2, 2024
1 parent 374bd70 commit 7d9a6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion route_test.go
Expand Up @@ -57,7 +57,7 @@ func BenchmarkNewRouterRegexpFunc(b *testing.B) {
}
}

func testNewRouter(tb testing.TB, handler http.Handler) {
func testNewRouter(_ testing.TB, handler http.Handler) {
r := NewRouter()
// A route with a route variable:
r.Handle("/metrics/{type}", handler)
Expand Down

0 comments on commit 7d9a6f7

Please sign in to comment.