- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for wantOut (0.28 sec)
-
cni/pkg/log/uds_test.go
} func TestParseCniLog(t *testing.T) { wantT := &time.Time{} assert.NoError(t, wantT.UnmarshalText([]byte("2020-01-01T00:00:00.356374Z"))) cases := []struct { name string in string out cniLog }{ { "without keys", `{"level":"info","time":"2020-01-01T00:00:00.356374Z","msg":"my message"}`, cniLog{ Level: "info", Time: *wantT, Msg: "my message",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:28 UTC 2024 - 4.1K bytes - Viewed (0) -
src/net/http/serve_test.go
func TestRedirectContentTypeAndBody(t *testing.T) { type ctHeader struct { Values []string } var tests = []struct { method string ct *ctHeader // Optional Content-Type header to set. wantCT string wantBody string }{ {MethodGet, nil, "text/html; charset=utf-8", "<a href=\"/foo\">Found</a>.\n\n"}, {MethodHead, nil, "text/html; charset=utf-8", ""}, {MethodPost, nil, "", ""},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0)