diff options
| author | Joe Tsai <joetsai@digital-static.net> | 2024-12-23 10:35:24 -0800 |
|---|---|---|
| committer | Joseph Tsai <joetsai@digital-static.net> | 2024-12-27 17:23:24 -0800 |
| commit | 2b794ed86cb1b718bc212ee90fecbb8f3b28a744 (patch) | |
| tree | bf7db1dce3814e4ce34106db7e20eea1a4961313 /src/encoding/binary | |
| parent | e3cd55e9d293d519e622e788e902f372dc30338a (diff) | |
| download | go-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')
0 files changed, 0 insertions, 0 deletions
