Add tests for common.go #8172
Annotations
10 errors and 1 warning
golangci-lint:
internal/providers/github/common_test.go#L36
test helper function should start from t.Helper() (thelper)
|
golangci-lint:
internal/providers/github/common_test.go#L59
Function TestWaitForRateLimitReset missing the call to method parallel (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L149
unused-parameter: parameter 'th' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/providers/github/common_test.go#L154
Range statement for test TestWaitForRateLimitReset missing the call to method parallel in test Run (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L176
Function TestPerformWithRetry missing the call to method parallel (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L212
Range statement for test TestPerformWithRetry missing the call to method parallel in test Run (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L230
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#L234
Function TestListPackagesByRepository missing the call to method parallel (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L308
Range statement for test TestListPackagesByRepository missing the call to method parallel in test Run (paralleltest)
|
golangci-lint:
internal/providers/github/common_test.go#L333
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