- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestJSONFilterBoundaries (0.34 sec)
-
src/cmd/dist/testjson_test.go
{not json} no newline` const want = `unexpected text {"Package":"abc:variant"} more text {"Package":"abc:variant"}trailing text {not json} no newline` checkJSONFilter(t, in, want) } func TestJSONFilterBoundaries(t *testing.T) { const in = `{"Package":"abc"} {"Package":"def"} {"Package":"ghi"} ` want := strings.ReplaceAll(in, `"}`, `:variant"}`) // Write one bytes at a time.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 20:13:24 UTC 2023 - 1.9K bytes - Viewed (0)