]> Cypherpunks repositories - gostls13.git/commit
net, os, file/filepath, syscall: use slices.Equal in tests
authorTobias Klauser <tklauser@distanz.ch>
Fri, 25 Jul 2025 11:02:01 +0000 (13:02 +0200)
committerGopher Robot <gobot@golang.org>
Mon, 11 Aug 2025 15:13:16 +0000 (08:13 -0700)
commita2431776ebc57ebc385d3fd9d3cc6eb89acb9d9c
treeab5dfc3d560f01a14b7c824e05e45d7531e64479
parenta7f05b38f7e7beefd5ee54089aae59b21507bb3c
net, os, file/filepath, syscall: use slices.Equal in tests

Use slices.Equal to compare slices instead of strings.Join and then
comparing strings.

Change-Id: Ib916002b7357bd7f4e66b853dd7af8d98eba5549
Reviewed-on: https://go-review.googlesource.com/c/go/+/690475
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/net/net_windows_test.go
src/os/os_windows_test.go
src/path/filepath/match_test.go
src/syscall/dirent_test.go
src/syscall/getdirentries_test.go