cmd/govulncheck: log command test output
Updates golang/go#52410.
Change-Id: I12863f0ccdd466aa976aa00f96f8a4e8fea9582c
Reviewed-on: https://go-review.googlesource.com/c/vuln/+/400358
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
diff --git a/cmd/govulncheck/main_test.go b/cmd/govulncheck/main_test.go
index 8a6d823..9f0a6d8 100644
--- a/cmd/govulncheck/main_test.go
+++ b/cmd/govulncheck/main_test.go
@@ -35,7 +35,7 @@
if err != nil {
t.Fatal(err)
}
- ts.DisableLogging = true
+ ts.DisableLogging = false
// Define a command that lets us cd into a module directory.
// The modules for these tests live under testdata/modules.
ts.Commands["cdmodule"] = func(args []string, inputFile string) ([]byte, error) {