]> Cypherpunks repositories - gostls13.git/commit
crypto/x509,embed: use slices to clean up tests
authorapocelipes <seve3r@outlook.com>
Wed, 24 Jul 2024 10:32:31 +0000 (10:32 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 24 Jul 2024 16:44:15 +0000 (16:44 +0000)
commit074f2761b5ff54c9c9d2e2a720abd29efa5474cc
tree66869f736eae2b06e697351ffd59206d6ea91661
parentc7ea20195a3415668047eebdc488a4af1f629f04
crypto/x509,embed: use slices to clean up tests

Replace reflect.DeepEqual with slices.Equal, which is much faster.

Change-Id: Ia93cc153d1f71ce92656129843be8dadcefbbca3
GitHub-Last-Rev: 0af0cc4205f51b31780ca2cbefe780e7256b1188
GitHub-Pull-Request: golang/go#67610
Reviewed-on: https://go-review.googlesource.com/c/go/+/587817
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Commit-Queue: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/crypto/x509/root_unix_test.go
src/crypto/x509/verify_test.go
src/crypto/x509/x509_test.go
src/embed/internal/embedtest/embed_test.go