build(deps): bump github.com/Antonboom/testifylint from 1.4.3 to 1.5.0 (#5054)

This commit is contained in:
Anton Telyshev 2024-10-03 23:58:51 +03:00 committed by GitHub
parent a86d8baa53
commit 095e4952be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 23 additions and 8 deletions

View File

@ -3269,7 +3269,9 @@ linters-settings:
- blank-import - blank-import
- bool-compare - bool-compare
- compares - compares
- contains
- empty - empty
- encoded-compare
- error-is-as - error-is-as
- error-nil - error-nil
- expected-actual - expected-actual
@ -3279,6 +3281,7 @@ linters-settings:
- len - len
- negative-positive - negative-positive
- nil-compare - nil-compare
- regexp
- require-error - require-error
- suite-broken-parallel - suite-broken-parallel
- suite-dont-use-pkg - suite-dont-use-pkg
@ -3292,15 +3295,17 @@ linters-settings:
disable-all: true disable-all: true
# Enable checkers by name # Enable checkers by name
# (in addition to default # (in addition to default
# blank-import, bool-compare, compares, empty, error-is-as, error-nil, expected-actual, go-require, float-compare, # blank-import, bool-compare, compares, contains, empty, encoded-compare, error-is-as, error-nil, expected-actual,
# formatter, len, negative-positive, nil-compare, require-error, suite-broken-parallel, suite-dont-use-pkg, # go-require, float-compare, formatter, len, negative-positive, nil-compare, regexp, require-error,
# suite-extra-assert-call, suite-subtest-run, useless-assert # suite-broken-parallel, suite-dont-use-pkg, suite-extra-assert-call, suite-subtest-run, useless-assert
# ). # ).
enable: enable:
- blank-import - blank-import
- bool-compare - bool-compare
- compares - compares
- contains
- empty - empty
- encoded-compare
- error-is-as - error-is-as
- error-nil - error-nil
- expected-actual - expected-actual
@ -3310,6 +3315,7 @@ linters-settings:
- len - len
- negative-positive - negative-positive
- nil-compare - nil-compare
- regexp
- require-error - require-error
- suite-broken-parallel - suite-broken-parallel
- suite-dont-use-pkg - suite-dont-use-pkg

2
go.mod
View File

@ -9,7 +9,7 @@ require (
github.com/Abirdcfly/dupword v0.1.1 github.com/Abirdcfly/dupword v0.1.1
github.com/Antonboom/errname v0.1.13 github.com/Antonboom/errname v0.1.13
github.com/Antonboom/nilnil v0.1.9 github.com/Antonboom/nilnil v0.1.9
github.com/Antonboom/testifylint v1.4.3 github.com/Antonboom/testifylint v1.5.0
github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c
github.com/Crocmagnon/fatcontext v0.5.2 github.com/Crocmagnon/fatcontext v0.5.2
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24

4
go.sum generated
View File

@ -43,8 +43,8 @@ github.com/Antonboom/errname v0.1.13 h1:JHICqsewj/fNckzrfVSe+T33svwQxmjC+1ntDsHO
github.com/Antonboom/errname v0.1.13/go.mod h1:uWyefRYRN54lBg6HseYCFhs6Qjcy41Y3Jl/dVhA87Ns= github.com/Antonboom/errname v0.1.13/go.mod h1:uWyefRYRN54lBg6HseYCFhs6Qjcy41Y3Jl/dVhA87Ns=
github.com/Antonboom/nilnil v0.1.9 h1:eKFMejSxPSA9eLSensFmjW2XTgTwJMjZ8hUHtV4s/SQ= github.com/Antonboom/nilnil v0.1.9 h1:eKFMejSxPSA9eLSensFmjW2XTgTwJMjZ8hUHtV4s/SQ=
github.com/Antonboom/nilnil v0.1.9/go.mod h1:iGe2rYwCq5/Me1khrysB4nwI7swQvjclR8/YRPl5ihQ= github.com/Antonboom/nilnil v0.1.9/go.mod h1:iGe2rYwCq5/Me1khrysB4nwI7swQvjclR8/YRPl5ihQ=
github.com/Antonboom/testifylint v1.4.3 h1:ohMt6AHuHgttaQ1xb6SSnxCeK4/rnK7KKzbvs7DmEck= github.com/Antonboom/testifylint v1.5.0 h1:dlUIsDMtCrZWUnvkaCz3quJCoIjaGi41GzjPBGkkJ8A=
github.com/Antonboom/testifylint v1.4.3/go.mod h1:+8Q9+AOLsz5ZiQiiYujJKs9mNz398+M6UgslP4qgJLA= github.com/Antonboom/testifylint v1.5.0/go.mod h1:wqaJbu0Blb5Wag2wv7Z5xt+CIV+eVLxtGZrlK13z3AE=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c h1:pxW6RcqyfI9/kWtOwnv/G+AzdKuy2ZrqINhenH4HyNs= github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c h1:pxW6RcqyfI9/kWtOwnv/G+AzdKuy2ZrqINhenH4HyNs=
github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=

View File

@ -2905,7 +2905,9 @@
"blank-import", "blank-import",
"bool-compare", "bool-compare",
"compares", "compares",
"contains",
"empty", "empty",
"encoded-compare",
"error-is-as", "error-is-as",
"error-nil", "error-nil",
"expected-actual", "expected-actual",
@ -2915,6 +2917,7 @@
"len", "len",
"negative-positive", "negative-positive",
"nil-compare", "nil-compare",
"regexp",
"require-error", "require-error",
"suite-broken-parallel", "suite-broken-parallel",
"suite-dont-use-pkg", "suite-dont-use-pkg",
@ -2928,16 +2931,19 @@
"blank-import", "blank-import",
"bool-compare", "bool-compare",
"compares", "compares",
"contains",
"empty", "empty",
"encoded-compare",
"error-is-as", "error-is-as",
"error-nil", "error-nil",
"expected-actual", "expected-actual",
"float-compare", "float-compare",
"float-compare", "formatter",
"go-require", "go-require",
"len", "len",
"negative-positive", "negative-positive",
"nil-compare", "nil-compare",
"regexp",
"require-error", "require-error",
"suite-broken-parallel", "suite-broken-parallel",
"suite-dont-use-pkg", "suite-dont-use-pkg",
@ -2954,7 +2960,9 @@
"blank-import", "blank-import",
"bool-compare", "bool-compare",
"compares", "compares",
"contains",
"empty", "empty",
"encoded-compare",
"error-is-as", "error-is-as",
"error-nil", "error-nil",
"expected-actual", "expected-actual",
@ -2964,6 +2972,7 @@
"len", "len",
"negative-positive", "negative-positive",
"nil-compare", "nil-compare",
"regexp",
"require-error", "require-error",
"suite-broken-parallel", "suite-broken-parallel",
"suite-dont-use-pkg", "suite-dont-use-pkg",

View File

@ -225,5 +225,5 @@ func TestPrinter_Print_multiple(t *testing.T) {
goldenJSON, err := os.ReadFile(filepath.Join("testdata", "golden-json.json")) goldenJSON, err := os.ReadFile(filepath.Join("testdata", "golden-json.json"))
require.NoError(t, err) require.NoError(t, err)
assert.Equal(t, string(goldenJSON), stdOutBuffer.String()) assert.JSONEq(t, string(goldenJSON), stdOutBuffer.String())
} }