Skip to content

fix lint

fix lint #1878

Triggered via push December 1, 2024 12:34
Status Failure
Total duration 58s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: projection/account/account_test.go#L240
require-error: for error assertions use require (testifylint)
lint: projection/account_message/account_message_test.go#L5004
require-error: for error assertions use require (testifylint)
lint: projection/account_raw_transaction/account_raw_transaction_test.go#L447
require-error: for error assertions use require (testifylint)
lint: usecase/coin/coin_test.go#L678
error-nil: use s.Assert().NoError (testifylint)
lint: usecase/coin/coin_test.go#L903
compares: use s.Require().Equal (testifylint)
lint: usecase/coin/dec_coin_test.go#L550
len: use s.Require().Len (testifylint)
lint: usecase/coin/decimal_test.go#L65
error-nil: use s.Require().Error (testifylint)
lint: usecase/coin/decimal_test.go#L67
error-nil: use s.Require().NoError (testifylint)
lint: usecase/coin/decimal_test.go#L74
error-nil: use s.Require().Error (testifylint)
lint: usecase/coin/decimal_test.go#L76
error-nil: use s.Require().NoError (testifylint)