diff --git a/internal/os/execpath/lp_js.go b/internal/os/execpath/lp_js.go index e826c319..a0571b71 100644 --- a/internal/os/execpath/lp_js.go +++ b/internal/os/execpath/lp_js.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build js && wasm -// +build js,wasm package execpath diff --git a/internal/os/execpath/lp_unix.go b/internal/os/execpath/lp_unix.go index cb8e9760..37f18c79 100644 --- a/internal/os/execpath/lp_unix.go +++ b/internal/os/execpath/lp_unix.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || linux || nacl || netbsd || openbsd || solaris -// +build aix darwin dragonfly freebsd linux nacl netbsd openbsd solaris package execpath diff --git a/testenv/testenv_cgo.go b/testenv/testenv_cgo.go index 02f08f57..7426a29c 100644 --- a/testenv/testenv_cgo.go +++ b/testenv/testenv_cgo.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build cgo -// +build cgo package testenv diff --git a/testenv/testenv_notwin.go b/testenv/testenv_notwin.go index a1ae92c0..1484058f 100644 --- a/testenv/testenv_notwin.go +++ b/testenv/testenv_notwin.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build !windows -// +build !windows package testenv diff --git a/testscript/clonefile.go b/testscript/clonefile.go index c841d67d..be49a2c8 100644 --- a/testscript/clonefile.go +++ b/testscript/clonefile.go @@ -1,5 +1,4 @@ //go:build unix && !darwin -// +build unix,!darwin package testscript diff --git a/testscript/clonefile_other.go b/testscript/clonefile_other.go index d66b841b..1748cafe 100644 --- a/testscript/clonefile_other.go +++ b/testscript/clonefile_other.go @@ -1,5 +1,4 @@ //go:build !unix -// +build !unix package testscript diff --git a/testscript/envvarname.go b/testscript/envvarname.go index 15e41f2b..2cc94fce 100644 --- a/testscript/envvarname.go +++ b/testscript/envvarname.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows package testscript