aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/binary/binary.go
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2024-12-23 10:35:24 -0800
committerJoseph Tsai <joetsai@digital-static.net>2024-12-27 17:23:24 -0800
commit2b794ed86cb1b718bc212ee90fecbb8f3b28a744 (patch)
treebf7db1dce3814e4ce34106db7e20eea1a4961313 /src/encoding/binary/binary.go
parente3cd55e9d293d519e622e788e902f372dc30338a (diff)
downloadgo-2b794ed86cb1b718bc212ee90fecbb8f3b28a744.tar.xz
encoding/json: expand and modernize TestInterfaceSet
Add more test cases to cover a wider range of edge cases. Use a generic addr function to take the address of a value. Even though redudant, explicitly include a cast to the top-level Go type so that it is more readable what the expected input and ouput types are. Change-Id: I3ef68df6f1beb903ae237cd49f3dcb91e5270fe7 Reviewed-on: https://go-review.googlesource.com/c/go/+/638256 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/encoding/binary/binary.go')
0 files changed, 0 insertions, 0 deletions