diff options
| author | Kir Kolyshkin <kolyshkin@gmail.com> | 2025-09-11 12:22:43 -0700 |
|---|---|---|
| committer | Kirill Kolyshkin <kolyshkin@gmail.com> | 2025-09-16 13:15:03 -0700 |
| commit | 796ea3bc2e0fc9ef635f0a5a9dea8468fb267e18 (patch) | |
| tree | b8e60ec614459f7c29028071c3dfc331a1e02c4f /src/os | |
| parent | a69395eab2a1f704a549d15260c896d01fc9ab34 (diff) | |
| download | go-796ea3bc2e0fc9ef635f0a5a9dea8468fb267e18.tar.xz | |
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>
Diffstat (limited to 'src/os')
| -rw-r--r-- | src/os/user/cgo_lookup_unix_test.go (renamed from src/os/user/cgo_unix_test.go) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/user/cgo_unix_test.go b/src/os/user/cgo_lookup_unix_test.go index 6d16aa20b3..cd225eb8df 100644 --- a/src/os/user/cgo_unix_test.go +++ b/src/os/user/cgo_lookup_unix_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build (darwin || dragonfly || freebsd || (!android && linux) || netbsd || openbsd || solaris) && cgo && !osusergo +//go:build (cgo || darwin) && !osusergo && unix && !android package user |
