Skip to content

Linter pr 1: testifylint #417

Linter pr 1: testifylint

Linter pr 1: testifylint #417

Triggered via pull request December 22, 2024 12:26
Status Failure
Total duration 30s
Artifacts

lint-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
lint: ibc_test.go#L111
empty: use require.Empty (testifylint)
lint: ibc_test.go#L202
len: use require.Len (testifylint)
lint: lib_libwasmvm_test.go#L130
require-error: for error assertions use require (testifylint)
lint: internal/api/lib_test.go#L853
go-require: MockInfoBin contains assertions that must only be used in the goroutine running the test function (testifylint)
lint: internal/api/lib_test.go#L856
go-require: require must only be used in the goroutine running the test function (testifylint)
lint: internal/api/lib_test.go#L857
go-require: requireOkResponse contains assertions that must only be used in the goroutine running the test function (testifylint)
lint
issues found
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636