Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
Signed-off-by: Benji Visser <benji@093b.org>
  • Loading branch information
noqcks committed Sep 19, 2023
1 parent f23f4a3 commit da80a69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/cli/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ func TestCmd(t *testing.T) {
name: "no-args-shows-help",
args: []string{},
assertions: []traitAssertion{
assertInOutput("an image/directory argument is required"), // specific error that should be shown
assertInOutput("A scanner for end-of-life (EOL) software in container images, filesystems, and SBOMs"), // excerpt from help description
assertInOutput("an image/directory argument is required"), // specific error that should be shown
assertInOutput("A scanner for end-of-life (EOL) software in container images, filesystems, and SBOMs."), // excerpt from help description
assertFailingReturnCode,
},
},
Expand Down
2 changes: 1 addition & 1 deletion test/cli/db_validations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestDBValidations(t *testing.T) {
"XEOL_DB_CA_CERT": "./does-not-exist.crt",
},
assertions: []traitAssertion{
assertInOutput("failed to load eol db"),
assertInOutput("failed to load EOL db"),
assertFailingReturnCode,
},
},
Expand Down

0 comments on commit da80a69

Please sign in to comment.