Skip to content

Commit 095e495

Browse files
authored
build(deps): bump github.com/Antonboom/testifylint from 1.4.3 to 1.5.0 (#5054)
1 parent a86d8ba commit 095e495

File tree

5 files changed

+23
-8
lines changed

5 files changed

+23
-8
lines changed

.golangci.next.reference.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -3269,7 +3269,9 @@ linters-settings:
32693269
- blank-import
32703270
- bool-compare
32713271
- compares
3272+
- contains
32723273
- empty
3274+
- encoded-compare
32733275
- error-is-as
32743276
- error-nil
32753277
- expected-actual
@@ -3279,6 +3281,7 @@ linters-settings:
32793281
- len
32803282
- negative-positive
32813283
- nil-compare
3284+
- regexp
32823285
- require-error
32833286
- suite-broken-parallel
32843287
- suite-dont-use-pkg
@@ -3292,15 +3295,17 @@ linters-settings:
32923295
disable-all: true
32933296
# Enable checkers by name
32943297
# (in addition to default
3295-
# blank-import, bool-compare, compares, empty, error-is-as, error-nil, expected-actual, go-require, float-compare,
3296-
# formatter, len, negative-positive, nil-compare, require-error, suite-broken-parallel, suite-dont-use-pkg,
3297-
# suite-extra-assert-call, suite-subtest-run, useless-assert
3298+
# blank-import, bool-compare, compares, contains, empty, encoded-compare, error-is-as, error-nil, expected-actual,
3299+
# go-require, float-compare, formatter, len, negative-positive, nil-compare, regexp, require-error,
3300+
# suite-broken-parallel, suite-dont-use-pkg, suite-extra-assert-call, suite-subtest-run, useless-assert
32983301
# ).
32993302
enable:
33003303
- blank-import
33013304
- bool-compare
33023305
- compares
3306+
- contains
33033307
- empty
3308+
- encoded-compare
33043309
- error-is-as
33053310
- error-nil
33063311
- expected-actual
@@ -3310,6 +3315,7 @@ linters-settings:
33103315
- len
33113316
- negative-positive
33123317
- nil-compare
3318+
- regexp
33133319
- require-error
33143320
- suite-broken-parallel
33153321
- suite-dont-use-pkg

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/Abirdcfly/dupword v0.1.1
1010
github.com/Antonboom/errname v0.1.13
1111
github.com/Antonboom/nilnil v0.1.9
12-
github.com/Antonboom/testifylint v1.4.3
12+
github.com/Antonboom/testifylint v1.5.0
1313
github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c
1414
github.com/Crocmagnon/fatcontext v0.5.2
1515
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24

go.sum

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

jsonschema/golangci.next.jsonschema.json

+10-1
Original file line numberDiff line numberDiff line change
@@ -2905,7 +2905,9 @@
29052905
"blank-import",
29062906
"bool-compare",
29072907
"compares",
2908+
"contains",
29082909
"empty",
2910+
"encoded-compare",
29092911
"error-is-as",
29102912
"error-nil",
29112913
"expected-actual",
@@ -2915,6 +2917,7 @@
29152917
"len",
29162918
"negative-positive",
29172919
"nil-compare",
2920+
"regexp",
29182921
"require-error",
29192922
"suite-broken-parallel",
29202923
"suite-dont-use-pkg",
@@ -2928,16 +2931,19 @@
29282931
"blank-import",
29292932
"bool-compare",
29302933
"compares",
2934+
"contains",
29312935
"empty",
2936+
"encoded-compare",
29322937
"error-is-as",
29332938
"error-nil",
29342939
"expected-actual",
29352940
"float-compare",
2936-
"float-compare",
2941+
"formatter",
29372942
"go-require",
29382943
"len",
29392944
"negative-positive",
29402945
"nil-compare",
2946+
"regexp",
29412947
"require-error",
29422948
"suite-broken-parallel",
29432949
"suite-dont-use-pkg",
@@ -2954,7 +2960,9 @@
29542960
"blank-import",
29552961
"bool-compare",
29562962
"compares",
2963+
"contains",
29572964
"empty",
2965+
"encoded-compare",
29582966
"error-is-as",
29592967
"error-nil",
29602968
"expected-actual",
@@ -2964,6 +2972,7 @@
29642972
"len",
29652973
"negative-positive",
29662974
"nil-compare",
2975+
"regexp",
29672976
"require-error",
29682977
"suite-broken-parallel",
29692978
"suite-dont-use-pkg",

pkg/printers/printer_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,5 +225,5 @@ func TestPrinter_Print_multiple(t *testing.T) {
225225
goldenJSON, err := os.ReadFile(filepath.Join("testdata", "golden-json.json"))
226226
require.NoError(t, err)
227227

228-
assert.Equal(t, string(goldenJSON), stdOutBuffer.String())
228+
assert.JSONEq(t, string(goldenJSON), stdOutBuffer.String())
229229
}

0 commit comments

Comments
 (0)