feat: increase test coverage in conf package to 100% #4455
Annotations
8 errors and 2 warnings
test (1.22.x):
internal/conf/configuration_test.go#L877
should use sort.Strings(...) instead of sort.Sort(sort.StringSlice(...)) (S1032)
|
test (1.22.x):
internal/conf/configuration_test.go#L881
should use sort.Strings(...) instead of sort.Sort(sort.StringSlice(...)) (S1032)
|
test (1.22.x):
internal/conf/configuration_test.go#L885
should use sort.Strings(...) instead of sort.Sort(sort.StringSlice(...)) (S1032)
|
test (1.22.x):
internal/conf/jwk_test.go#L399
func helpToJSON is unused (U1000)
|
test (1.22.x):
internal/conf/jwk_test.go#L422
this value of err is never used (SA4006)
|
test (1.22.x):
internal/conf/saml_test.go#L47
don't use Yoda conditions (ST1017)
|
test (1.22.x):
internal/conf/saml_test.go#L63
don't use Yoda conditions (ST1017)
|
test (1.22.x)
Process completed with exit code 2.
|
test (1.22.x)
Unexpected input(s) 'skip-unshallow', valid inputs are ['repository', 'ref', 'token', 'ssh-key', 'ssh-known-hosts', 'ssh-strict', 'persist-credentials', 'path', 'clean', 'fetch-depth', 'lfs', 'submodules', 'set-safe-directory']
|
test (1.22.x)
Unexpected input(s) 'skip-unshallow', valid inputs are ['repository', 'ref', 'token', 'ssh-key', 'ssh-known-hosts', 'ssh-strict', 'persist-credentials', 'path', 'clean', 'fetch-depth', 'lfs', 'submodules', 'set-safe-directory']
|