Skip to content

Commit 8587d50

Browse files
rscjosharian
authored andcommitted
[release-branch.go1.17] [tailscale1.17] go/build: update for //go:build lines
Look for //go:build ignore, not // +build ignore, in deps_test.go. For golang#41184. Change-Id: Iba8617230aa620223e2bc170f18d0c54557318c4 Reviewed-on: https://go-review.googlesource.com/c/go/+/359315 Trust: Russ Cox <[email protected]> Trust: Josh Bleecher Snyder <[email protected]> Run-TryBot: Russ Cox <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Josh Bleecher Snyder <[email protected]> (cherry picked from commit golang.org/cl/359315)
1 parent 16fec19 commit 8587d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/go/build/deps_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ func TestDependencies(t *testing.T) {
615615
}
616616
}
617617

618-
var buildIgnore = []byte("\n// +build ignore")
618+
var buildIgnore = []byte("\n//go:build ignore")
619619

620620
func findImports(pkg string) ([]string, error) {
621621
vpkg := pkg

0 commit comments

Comments
 (0)