- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestRoutingNodeMatch (0.26 sec)
-
src/net/http/routing_tree_test.go
t.Errorf("got\n%s\nwant\n%s", got, want) } } type testCase struct { method, host, path string wantPat string // "" for nil (no match) wantMatches []string } 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 := ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:43:24 UTC 2024 - 7K bytes - Viewed (0)