commit | a829e27db8230e3a5a218cabe029a732199b2110 | [log] [tgz] |
---|---|---|
author | Zvonimir Pavlinovic <zpavlinovic@google.com> | Thu Jan 26 09:01:52 2023 -0800 |
committer | Zvonimir Pavlinovic <zpavlinovic@google.com> | Thu Jan 26 23:43:36 2023 +0000 |
tree | 39a44d8912a42fd749b582e9747a4f32493332a4 | |
parent | 6606480fbd578ba57f94c1347956e7f7e31ef262 [diff] |
cmd/govulncheck: catch all errors in print tests Also refactor code to avoid redirecting std output in tests. js-wasm does not support pipes. The simplest fix is to make a simple code refactoring to expose exactly the logic being tested. Fixes golang/go#58018 Change-Id: I096190198b5e7d5d5b85fa5d525f9807450724ee Reviewed-on: https://go-review.googlesource.com/c/vuln/+/463498 Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com>
This repository contains packages for accessing and analyzing data from the Go Vulnerability Database. It contains the following:
Check out https://go.dev/security/vuln for more information about the Go vulnerability management system.
The privacy policy for govulncheck
can be found at https://vuln.go.dev/privacy.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Database entries available at https://vuln.go.dev are distributed under the terms of the CC-BY 4.0 license.