- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for diffJSON (0.2 sec)
-
src/cmd/internal/test2json/test2json_test.go
in = append([]byte{}, orig...) writeAndKill(c, in) c.Close() diffJSON(t, buf.Bytes(), want) }) // In bulk again with \r\n. t.Run("crlf", func(t *testing.T) { buf.Reset() c = NewConverter(&buf, "", 0) in = bytes.ReplaceAll(orig, []byte("\n"), []byte("\r\n")) writeAndKill(c, in) c.Close() diffJSON(t, bytes.ReplaceAll(buf.Bytes(), []byte(`\r\n`), []byte(`\n`)), want) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 19:50:36 UTC 2022 - 7.2K bytes - Viewed (0)