Skip to content

Commit 8e1132c

Browse files
committed
router: fix ineffective assignment in test
1 parent 2fda79d commit 8e1132c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

router_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ func TestRouterLookup(t *testing.T) {
496496
// insert route and try again
497497
router.GET("/user/:name", wantHandle)
498498

499-
handle, params, tsr := router.Lookup(http.MethodGet, "/user/gopher")
499+
handle, params, _ := router.Lookup(http.MethodGet, "/user/gopher")
500500
if handle == nil {
501501
t.Fatal("Got no handle!")
502502
} else {

0 commit comments

Comments
 (0)