]> Cypherpunks.ru repositories - gostls13.git/commit
go/build: make TestDependencies work again
authorIan Lance Taylor <iant@golang.org>
Thu, 17 Dec 2020 22:59:45 +0000 (14:59 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 18 Dec 2020 19:44:42 +0000 (19:44 +0000)
commit139cd0e12ff9d7628c321abbfb8d2f4ada461543
tree7cbc6794d35f35cdc22275ac85198a517715709a
parent2de786647019d8a48bb776660f861995721c88c6
go/build: make TestDependencies work again

CL 243940 accidentally broke TestDependencies such that it always passed.
Make it work again, and add a test so that it won't break in the same way.

This revealed that the new embed package was missing from TestDepencies,
so add it.

Fixes #43249

Change-Id: I02b3e38dd35ad88880c4344d46de13b7639aa4c6
Reviewed-on: https://go-review.googlesource.com/c/go/+/279073
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/go/build/deps_test.go