Skip to content

Commit b8f928b

Browse files
committed
go/build: update for //go:build lines
Look for //go:build ignore, not // +build ignore, in deps_test.go. For #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>
1 parent 5a3a9d8 commit b8f928b

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
@@ -621,7 +621,7 @@ func TestDependencies(t *testing.T) {
621621
}
622622
}
623623

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

626626
func findImports(pkg string) ([]string, error) {
627627
vpkg := pkg

0 commit comments

Comments
 (0)