Add tests for common.go #8169
Annotations
10 errors and 1 warning
golangci-lint:
internal/providers/github/common_test.go#L35
test helper function should start from t.Helper() (thelper)
|
golangci-lint:
internal/providers/github/common_test.go#L58
Function TestWaitForRateLimitReset missing the call to method parallel (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L148
unused-parameter: parameter 'th' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/providers/github/common_test.go#L153
Range statement for test TestWaitForRateLimitReset missing the call to method parallel in test Run (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L175
Function TestPerformWithRetry missing the call to method parallel (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L211
Range statement for test TestPerformWithRetry missing the call to method parallel in test Run (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L229
unused-receiver: method receiver 'm' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/providers/github/common_test.go#L233
Function TestListPackagesByRepository missing the call to method parallel (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L307
Range statement for test TestListPackagesByRepository missing the call to method parallel in test Run (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L332
Function TestGetPackageVersions missing the call to method parallel (paralleltest)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading