mirror of
https://github.com/golang/go.git
synced 2025-05-31 23:25:39 +00:00
go.tools/go/loader: fix broken test.
(The previous figure was based on an unclean workspace.) LGTM=gri R=gri CC=golang-codereviews https://golang.org/cl/74210043
This commit is contained in:
parent
cd987a3c83
commit
be96a2037f
@ -75,7 +75,7 @@ func TestStdlib(t *testing.T) {
|
||||
runtime.ReadMemStats(&memstats)
|
||||
|
||||
numPkgs := len(prog.AllPackages)
|
||||
if want := 206; numPkgs < want {
|
||||
if want := 205; numPkgs < want {
|
||||
t.Errorf("Loaded only %d packages, want at least %d", numPkgs, want)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user