Skip to content

Commit

Permalink
[release-branch.go1.17] [tailscale1.17] go/build: update for //go:bui…
Browse files Browse the repository at this point in the history
…ld 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 <rsc@golang.org>
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>

(cherry picked from commit golang.org/cl/359315)
  • Loading branch information
rsc authored and josharian committed Feb 14, 2022
1 parent 16fec19 commit 8587d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/go/build/deps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ func TestDependencies(t *testing.T) {
}
}

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

func findImports(pkg string) ([]string, error) {
vpkg := pkg
Expand Down

0 comments on commit 8587d50

Please sign in to comment.