package db tests #13
Annotations
10 errors and 1 warning
Run golangci-lint:
pkg/db/db_test.go#L43
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
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)
|
Run golangci-lint:
pkg/ui/interactiveTable.go#L107
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
Run golangci-lint:
pkg/db/db_test.go#L26
error-nil: use assert.NoError (testifylint)
|
Run golangci-lint:
pkg/db/db_test.go#L314
expected-actual: need to reverse actual and expected values (testifylint)
|
Run golangci-lint:
pkg/db/db_test.go#L146
require-error: for error assertions use require (testifylint)
|
Run golangci-lint:
pkg/db/db_test.go#L166
require-error: for error assertions use require (testifylint)
|
Run golangci-lint:
pkg/db/db_test.go#L323
require-error: for error assertions use require (testifylint)
|
Run golangci-lint:
pkg/db/db_test.go#L417
require-error: for error assertions use require (testifylint)
|
Run golangci-lint:
pkg/db/db_test.go#L424
require-error: for error assertions use require (testifylint)
|
Install Go
Restore cache failed: Dependencies file is not found in /home/runner/work/pman/pman. Supported file pattern: go.sum
|
Loading