- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestTimeUnmarshalJSON (0.19 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_test.go
} if string(result) != c.result { t.Errorf("Failed to marshal input: '%v': expected %+v, got %q", input, c.result, string(result)) } } } func TestTimeUnmarshalJSON(t *testing.T) { cases := []struct { input string result Time }{ {"{\"t\":null}", Time{}}, {"{\"t\":\"1998-05-05T05:05:05Z\"}", Time{Date(1998, time.May, 5, 5, 5, 5, 0, time.UTC).Local()}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 9.4K bytes - Viewed (0)