Commit graph

2 commits

Author SHA1 Message Date
William Martin
a44721d233 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>
2026-05-07 20:20:39 +02:00
Pavel Dostál
9c4184de6f Address review feedback on echo mode polling
- Rename echo_test_{linux,darwin}.go to echo_{linux,darwin}_test.go so
  they are only compiled during tests
- Narrow build tag from !windows to linux || darwin to avoid compile
  failures on other Unix platforms
- Return error from waitForEchoDisabled instead of calling t.Fatal,
  since the function is called from goroutines where FailNow would only
  terminate the calling goroutine
2026-05-07 20:20:39 +02:00
Renamed from internal/prompter/echo_test_linux.go (Browse further)