]> Cypherpunks repositories - gostls13.git/commit
os/user: align test file name and build tags
authorKir Kolyshkin <kolyshkin@gmail.com>
Thu, 11 Sep 2025 19:22:43 +0000 (12:22 -0700)
committerKirill Kolyshkin <kolyshkin@gmail.com>
Tue, 16 Sep 2025 20:15:03 +0000 (13:15 -0700)
commit796ea3bc2e0fc9ef635f0a5a9dea8468fb267e18
treeb8e60ec614459f7c29028071c3dfc331a1e02c4f
parenta69395eab2a1f704a549d15260c896d01fc9ab34
os/user: align test file name and build tags

TestNegativeUid tests code in cgo_lookup_unix.go, so let's use
the very same go:build line for the test file, and rename
the test file accordingly.

Change-Id: Iee3dbc25aeb8a7659c734d97dde3e9c670e80fae
Reviewed-on: https://go-review.googlesource.com/c/go/+/702976
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Mark Freeman <markfreeman@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/os/user/cgo_lookup_unix_test.go [moved from src/os/user/cgo_unix_test.go with 80% similarity]