]> Cypherpunks repositories - gostls13.git/commit
encoding/json: cleanup tests
authorJoe Tsai <joetsai@digital-static.net>
Tue, 14 Jan 2025 20:43:27 +0000 (12:43 -0800)
committerJoseph Tsai <joetsai@digital-static.net>
Tue, 14 Jan 2025 22:54:07 +0000 (14:54 -0800)
commit368a9ec99834652ca3f7d8fe24862a7581e12358
tree734b54f4207b7f3351a660a16897f4d1f92df428
parentbd80d8956f3062d2b2bff2d7da6b879dfa909f12
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>
src/encoding/json/decode_test.go
src/encoding/json/stream_test.go
src/encoding/json/tags_test.go