]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.fuzz] go/build: add missing dependencies
authorKatie Hockman <katie@golang.org>
Thu, 18 Feb 2021 22:53:07 +0000 (17:53 -0500)
committerKatie Hockman <katie@golang.org>
Fri, 19 Feb 2021 14:10:02 +0000 (14:10 +0000)
The test was broken before, but was fixed in
CL 279073, which will be pulled in during our
merge.

Change-Id: I782c49f223eec5f856e4735a6c883f1464be5a57
Reviewed-on: https://go-review.googlesource.com/c/go/+/293842
Reviewed-by: Jay Conrod <jayconrod@google.com>
Trust: Katie Hockman <katie@golang.org>

src/go/build/deps_test.go

index 8542e520494d74ca4060af53adaa212f5a98249e..16ca675f8c80797f1777732e872efc898f37f11c 100644 (file)
@@ -484,7 +484,7 @@ var depsRules = `
        FMT, flag, runtime/debug, runtime/trace, internal/sysinfo
        < testing;
 
-       FMT, crypto/sha256, encoding/json, math/rand
+       FMT, crypto/sha256, encoding/json, go/ast, go/parser, go/token, math/rand
        < internal/fuzz;
 
        internal/fuzz, internal/testlog, runtime/pprof, regexp