diff options
| author | apocelipes <seve3r@outlook.com> | 2024-07-24 10:24:16 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-07-25 00:25:45 +0000 |
| commit | bd6f911f852f4a608e2cf11c1ce5b55ff0347866 (patch) | |
| tree | e3cec16727da931a4b232af74e26ccee42761b7e /src/encoding | |
| parent | b5b9d24dc38c63cca6319f2b139cb9b35b3cb058 (diff) | |
| download | go-bd6f911f852f4a608e2cf11c1ce5b55ff0347866.tar.xz | |
archive: use slices and maps to clean up tests
Replace reflect.DeepEqual with slices.Equal/maps.Equal, which is
much faster.
Clean up some unnecessary helper functions.
Change-Id: I9b94bd43886302b9b327539ab065a435ce0d75d9
GitHub-Last-Rev: b9ca21f165bcc5e45733e6a511a2344b1aa4a281
GitHub-Pull-Request: golang/go#67607
Reviewed-on: https://go-review.googlesource.com/c/go/+/587936
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
