]> Cypherpunks repositories - gostls13.git/commit
os,path/filepath,testing: use slices to clean up tests
authorapocelipes <seve3r@outlook.com>
Wed, 24 Jul 2024 10:47:14 +0000 (10:47 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 25 Jul 2024 00:23:06 +0000 (00:23 +0000)
commit05861ff90cfc855620d0dcbd1d6cc488ebf04880
tree72b56bbb48da1f66041fd9df85423740bb3f5120
parent0b0dfcd5404ce86d6c818d78bdb6348ded459e96
os,path/filepath,testing: use slices to clean up tests

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

Change-Id: I299db6f998738174983731f08c1021346b87dfaa
GitHub-Last-Rev: 44ca9015d6af4e0fbe8d23c93b3f2da08a2d7728
GitHub-Pull-Request: golang/go#67613
Reviewed-on: https://go-review.googlesource.com/c/go/+/587938
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/os/env_test.go
src/os/exec/env_test.go
src/os/exec/exec_posix_test.go
src/os/os_test.go
src/os/os_windows_test.go
src/path/filepath/match_test.go
src/path/filepath/path_test.go
src/path/filepath/path_windows_test.go
src/testing/fstest/testfs.go
src/testing/sub_test.go