blob: f28ee2f16524e146cf1c6cad48de75bf16c9df3f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- internal/test/testenv.go.orig 2025-05-08 09:18:33 UTC
+++ internal/test/testenv.go
@@ -14,7 +14,7 @@ func NeedsGoEnv(t testing.TB) {
func NeedsGoEnv(t testing.TB) {
t.Helper()
- if _, err := exec.LookPath("go"); err != nil {
+ if _, err := exec.LookPath("%%GO_CMD%%"); err != nil {
t.Skip("skipping test: can't run go env")
}
}
|