build(deps): bump github.com/Antonboom/testifylint from 1.0.2 to 1.1.0 (#4330)
This commit is contained in:
parent
bc169eb62d
commit
7656f82cfe
@ -2043,6 +2043,7 @@ linters-settings:
|
||||
# suite-thelper
|
||||
# ).
|
||||
disable:
|
||||
- blank-import
|
||||
- bool-compare
|
||||
- compares
|
||||
- empty
|
||||
@ -2057,16 +2058,18 @@ linters-settings:
|
||||
- suite-dont-use-pkg
|
||||
- suite-extra-assert-call
|
||||
- suite-thelper
|
||||
- useless-assert
|
||||
|
||||
# Disable all checkers (https://github.com/Antonboom/testifylint#checkers).
|
||||
# Default: false
|
||||
disable-all: true
|
||||
# Enable checkers by name
|
||||
# (in addition to default
|
||||
# bool-compare, compares, empty, error-is-as, error-nil, expected-actual, go-require, float-compare, len,
|
||||
# nil-compare, require-error, suite-dont-use-pkg, suite-extra-assert-call
|
||||
# blank-import, bool-compare, compares, empty, error-is-as, error-nil, expected-actual, go-require, float-compare,
|
||||
# len, nil-compare, require-error, suite-dont-use-pkg, suite-extra-assert-call, useless-assert
|
||||
# ).
|
||||
enable:
|
||||
- blank-import
|
||||
- bool-compare
|
||||
- compares
|
||||
- empty
|
||||
@ -2081,13 +2084,14 @@ linters-settings:
|
||||
- suite-dont-use-pkg
|
||||
- suite-extra-assert-call
|
||||
- suite-thelper
|
||||
- useless-assert
|
||||
|
||||
expected-actual:
|
||||
# Regexp for expected variable name.
|
||||
# Default: (^(exp(ected)?|want(ed)?)([A-Z]\w*)?$)|(^(\w*[a-z])?(Exp(ected)?|Want(ed)?)$)
|
||||
pattern: ^expected
|
||||
require-error:
|
||||
# Regexp for assertions to analyze. If defined then only matched assertions will be reported.
|
||||
# Regexp for assertions to analyze. If defined, then only matched error assertions will be reported.
|
||||
# Default: ""
|
||||
fn-pattern: ^(Errorf?|NoErrorf?)$
|
||||
suite-extra-assert-call:
|
||||
|
2
go.mod
2
go.mod
@ -9,7 +9,7 @@ require (
|
||||
github.com/Abirdcfly/dupword v0.0.13
|
||||
github.com/Antonboom/errname v0.1.12
|
||||
github.com/Antonboom/nilnil v0.1.7
|
||||
github.com/Antonboom/testifylint v1.0.2
|
||||
github.com/Antonboom/testifylint v1.1.0
|
||||
github.com/BurntSushi/toml v1.3.2
|
||||
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24
|
||||
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0
|
||||
|
2
go.sum
generated
2
go.sum
generated
@ -45,6 +45,8 @@ github.com/Antonboom/nilnil v0.1.7 h1:ofgL+BA7vlA1K2wNQOsHzLJ2Pw5B5DpWRLdDAVvvTo
|
||||
github.com/Antonboom/nilnil v0.1.7/go.mod h1:TP+ScQWVEq0eSIxqU8CbdT5DFWoHp0MbP+KMUO1BKYQ=
|
||||
github.com/Antonboom/testifylint v1.0.2 h1:WkSc4c6AcYAPrSqj/3MYrewhszk+mnwd07acH1NL9Vw=
|
||||
github.com/Antonboom/testifylint v1.0.2/go.mod h1:tGEV9t6Th7DHXFVjd8oyLOBbIxXzs4CMEIAkbQ2RuC8=
|
||||
github.com/Antonboom/testifylint v1.1.0 h1:HrgwOEqVQc5eAsWEDA6JvK7ZSzfdTBjWt0PAYHweu+o=
|
||||
github.com/Antonboom/testifylint v1.1.0/go.mod h1:m62Du5rtu7uwrWsypuLPTVeKbTB3NZgPWrxfffu2r/8=
|
||||
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
|
||||
github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8=
|
||||
github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
|
||||
|
Loading…
x
Reference in New Issue
Block a user