Skip to content

Commit

Permalink
tests: correct typos in output
Browse files Browse the repository at this point in the history
Change-Id: I598f3d7af6569559658c27114999e9820bd20485
GitHub-Last-Rev: 474cabb
GitHub-Pull-Request: #1532
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/465695
Reviewed-by: Ian Lance Taylor <[email protected]>
Auto-Submit: Ian Lance Taylor <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
Reviewed-by: David Chase <[email protected]>
Run-TryBot: Ian Lance Taylor <[email protected]>
  • Loading branch information
alexandear authored and gopherbot committed Feb 7, 2023
1 parent 0c997e2 commit c9193aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/database/load_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func TestLoad(t *testing.T) {
path := validDir
got, err := Load(path)
if err != nil {
t.Fatalf("Load(%s): want succeess, got %s", path, err)
t.Fatalf("Load(%s): want success, got %s", path, err)
}
want := valid
if diff := cmp.Diff(want, got); diff != "" {
Expand Down
2 changes: 1 addition & 1 deletion internal/report/lint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ func TestLint(t *testing.T) {
want: []string{"at most one advisory link"},
},
{
desc: "reduntant advisory links",
desc: "redundant advisory links",
report: validXReport(func(r *Report) {
r.CVEs = []string{"CVE-0000-0000", "CVE-0000-0001"}
r.GHSAs = []string{"GHSA-0000-0000-0000"}
Expand Down

0 comments on commit c9193aa

Please sign in to comment.