Skip to content

cleanup: tests

cleanup: tests #411

Triggered via pull request December 20, 2024 20:51
@faddatfaddat
synchronize #583
faddat:patch-1
Status Failure
Total duration 27s
Artifacts

lint-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: lib_libwasmvm_test.go#L131
require-error: for error assertions use require (testifylint)
lint: lib_libwasmvm_test.go#L318
require-error: for error assertions use require (testifylint)
lint: lib_libwasmvm_test.go#L335
require-error: for error assertions use require (testifylint)
lint: internal/api/lib_test.go#L396
len: use require.Len (testifylint)
lint: internal/api/lib_test.go#L420
len: use require.Len (testifylint)
lint: internal/api/lib_test.go#L458
empty: use require.Empty (testifylint)
lint: internal/api/lib_test.go#L818
len: use require.Len (testifylint)
lint: internal/api/lib_test.go#L1002
len: use assert.Len (testifylint)
lint: internal/api/lib_test.go#L702
go-require: MockInfoBin contains assertions that must only be used in the goroutine running the test function (testifylint)
lint: types/queries_test.go#L42
expected-actual: need to reverse actual and expected values (testifylint)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636