go/src/encoding
Joe Tsai 368a9ec998 encoding/json: cleanup tests
Perform minor cleanups in tests to improve printout of diffs
and/or follow modern coding style.

This reduces the amount of diffs between v1 and the v2 prototype.

Change-Id: I019bb9642e2135f2fa3eac6abfa6df91c397aa82
Reviewed-on: https://go-review.googlesource.com/c/go/+/642257
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Joseph Tsai <joetsai@digital-static.net>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2025-01-14 14:54:07 -08:00
..
ascii85 encoding: modernize Go documentation 2023-09-08 19:04:28 +00:00
asn1 encoding/asn1: use slices.Equal in ObjectIdentifier.Equal 2024-10-08 15:08:01 +00:00
base32 encoding/base64, encoding/base32: add doc details to DecodeString and AppendDecode 2024-12-06 20:49:45 +00:00
base64 encoding/base64, encoding/base32: add doc details to DecodeString and AppendDecode 2024-12-06 20:49:45 +00:00
binary encoding/binary: add documentation for endian methods 2024-12-30 12:32:26 -08:00
csv encoding: use slices and maps to clean up tests 2024-07-25 00:23:58 +00:00
gob encoding/gob: make use of maps.Clone 2024-09-13 21:04:06 +00:00
hex encoding/hex: don't overallocate memory in DecodeString 2024-05-08 19:30:23 +00:00
json encoding/json: cleanup tests 2025-01-14 14:54:07 -08:00
pem encoding: use slices and maps to clean up tests 2024-07-25 00:23:58 +00:00
xml encoding/xml: document that embedded interfaces look like non-embedded ones 2024-10-21 15:18:09 +00:00
encoding.go encoding: add TextAppender and BinaryAppender 2024-07-30 14:22:50 +00:00