Explorar o código

Fixes tree_test.go

Manu Mtz.-Almeida %!s(int64=10) %!d(string=hai) anos
pai
achega
19b5f726f4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tree_test.go

+ 1 - 1
tree_test.go

@@ -466,7 +466,7 @@ func TestTreeRootTrailingSlashRedirect(t *testing.T) {
 		t.Fatalf("panic inserting test route: %v", recv)
 	}
 
-	handler, _, tsr := tree.getValue("/")
+	handler, _, tsr := tree.getValue("/", nil)
 	if handler != nil {
 		t.Fatalf("non-nil handler")
 	} else if tsr {