Skip to content

Commit 7656f82

Browse files
authored
build(deps): bump github.com/Antonboom/testifylint from 1.0.2 to 1.1.0 (#4330)
1 parent bc169eb commit 7656f82

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.golangci.reference.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -2043,6 +2043,7 @@ linters-settings:
20432043
# suite-thelper
20442044
# ).
20452045
disable:
2046+
- blank-import
20462047
- bool-compare
20472048
- compares
20482049
- empty
@@ -2057,16 +2058,18 @@ linters-settings:
20572058
- suite-dont-use-pkg
20582059
- suite-extra-assert-call
20592060
- suite-thelper
2061+
- useless-assert
20602062

20612063
# Disable all checkers (https://github.com/Antonboom/testifylint#checkers).
20622064
# Default: false
20632065
disable-all: true
20642066
# Enable checkers by name
20652067
# (in addition to default
2066-
# bool-compare, compares, empty, error-is-as, error-nil, expected-actual, go-require, float-compare, len,
2067-
# nil-compare, require-error, suite-dont-use-pkg, suite-extra-assert-call
2068+
# blank-import, bool-compare, compares, empty, error-is-as, error-nil, expected-actual, go-require, float-compare,
2069+
# len, nil-compare, require-error, suite-dont-use-pkg, suite-extra-assert-call, useless-assert
20682070
# ).
20692071
enable:
2072+
- blank-import
20702073
- bool-compare
20712074
- compares
20722075
- empty
@@ -2081,13 +2084,14 @@ linters-settings:
20812084
- suite-dont-use-pkg
20822085
- suite-extra-assert-call
20832086
- suite-thelper
2087+
- useless-assert
20842088

20852089
expected-actual:
20862090
# Regexp for expected variable name.
20872091
# Default: (^(exp(ected)?|want(ed)?)([A-Z]\w*)?$)|(^(\w*[a-z])?(Exp(ected)?|Want(ed)?)$)
20882092
pattern: ^expected
20892093
require-error:
2090-
# Regexp for assertions to analyze. If defined then only matched assertions will be reported.
2094+
# Regexp for assertions to analyze. If defined, then only matched error assertions will be reported.
20912095
# Default: ""
20922096
fn-pattern: ^(Errorf?|NoErrorf?)$
20932097
suite-extra-assert-call:

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/Abirdcfly/dupword v0.0.13
1010
github.com/Antonboom/errname v0.1.12
1111
github.com/Antonboom/nilnil v0.1.7
12-
github.com/Antonboom/testifylint v1.0.2
12+
github.com/Antonboom/testifylint v1.1.0
1313
github.com/BurntSushi/toml v1.3.2
1414
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24
1515
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0

go.sum

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)