Skip to content

Commit

Permalink
fix InvalidSerialNumber test
Browse files Browse the repository at this point in the history
Signed-off-by: nscuro <[email protected]>
  • Loading branch information
nscuro committed Sep 27, 2021
1 parent 582175a commit fc1a7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/options/options_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ func TestSBOMOptions_Validate(t *testing.T) {
require.ErrorAs(t, err, &validationError)

require.Len(t, validationError.Errors, 1)
require.Contains(t, validationError.Errors[0].Error(), "invalid serial number")
require.Contains(t, validationError.Errors[0].Error(), "serial number")
})
}

0 comments on commit fc1a7f9

Please sign in to comment.