package db tests #13
Annotations
10 errors and 1 warning
test (stable, ubuntu-latest):
pkg/db/db_test.go#L43
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
test (stable, ubuntu-latest):
cmd/status.go#L14
var-declaration: should omit type error from declaration of var ErrBadUsageStatusCmd; it will be inferred from the right-hand side (revive)
|
test (stable, ubuntu-latest):
pkg/ui/interactiveTable.go#L107
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
test (stable, ubuntu-latest):
pkg/db/db_test.go#L26
error-nil: use assert.NoError (testifylint)
|
test (stable, ubuntu-latest):
pkg/db/db_test.go#L314
expected-actual: need to reverse actual and expected values (testifylint)
|
test (stable, ubuntu-latest):
pkg/db/db_test.go#L146
require-error: for error assertions use require (testifylint)
|
test (stable, ubuntu-latest):
pkg/db/db_test.go#L166
require-error: for error assertions use require (testifylint)
|
test (stable, ubuntu-latest):
pkg/db/db_test.go#L323
require-error: for error assertions use require (testifylint)
|
test (stable, ubuntu-latest):
pkg/db/db_test.go#L417
require-error: for error assertions use require (testifylint)
|
test (stable, ubuntu-latest):
pkg/db/db_test.go#L424
require-error: for error assertions use require (testifylint)
|
test (stable, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/pman/pman. Supported file pattern: go.sum
|