Add explicit build tags to platform-specific echo test files

The Go toolchain infers constraints from _darwin/_linux filename suffixes,
but explicit //go:build tags make the constraint visible without relying
on filename conventions, consistent with modern Go style.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
William Martin 2026-05-07 20:20:09 +02:00
parent 9c4184de6f
commit a44721d233
2 changed files with 4 additions and 0 deletions

View file

@ -1,3 +1,5 @@
//go:build darwin
package prompter_test
import "golang.org/x/sys/unix"

View file

@ -1,3 +1,5 @@
//go:build linux
package prompter_test
import "golang.org/x/sys/unix"