- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for gotoNode (0.2 sec)
-
src/net/http/routing_tree_test.go
} func TestRoutingNodeMatch(t *testing.T) { test := func(tree *routingNode, tests []testCase) { t.Helper() for _, test := range tests { gotNode, gotMatches := tree.match(test.host, test.method, test.path) got := "" if gotNode != nil { got = gotNode.pattern.String() } if got != test.wantPat { t.Errorf("%s, %s, %s: got %q, want %q", test.host, test.method, test.path, got, test.wantPat) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:43:24 UTC 2024 - 7K bytes - Viewed (0)