mirror of https://github.com/gin-gonic/gin.git
Fixes tree_test.go
This commit is contained in:
parent
d64a1fb91c
commit
19b5f726f4
|
@ -466,7 +466,7 @@ func TestTreeRootTrailingSlashRedirect(t *testing.T) {
|
||||||
t.Fatalf("panic inserting test route: %v", recv)
|
t.Fatalf("panic inserting test route: %v", recv)
|
||||||
}
|
}
|
||||||
|
|
||||||
handler, _, tsr := tree.getValue("/")
|
handler, _, tsr := tree.getValue("/", nil)
|
||||||
if handler != nil {
|
if handler != nil {
|
||||||
t.Fatalf("non-nil handler")
|
t.Fatalf("non-nil handler")
|
||||||
} else if tsr {
|
} else if tsr {
|
||||||
|
|
Loading…
Reference in New Issue