- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestGuessJSON (0.09 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder_test.go
} if testCase.expect != string(token) { t.Errorf("%d: token did not match: %q %q", i, testCase.expect, string(token)) } } } func TestGuessJSON(t *testing.T) { if r, _, isJSON := GuessJSONStream(bytes.NewReader([]byte(" \n{}")), 100); !isJSON { t.Fatalf("expected stream to be JSON") } else { b := make([]byte, 30) n, err := r.Read(b)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 12.4K bytes - Viewed (0)