mirror of
https://github.com/golang/go
synced 2024-09-30 06:14:31 -06:00
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>
This commit is contained in:
parent
5a3a9d87ed
commit
b8f928b052
@ -621,7 +621,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
|
||||
|
Loading…
Reference in New Issue
Block a user