Skip to content

Commit

Permalink
build(deps): bump github.com/Antonboom/testifylint from 1.4.3 to 1.5.0 (
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonboom authored Oct 3, 2024
1 parent a86d8ba commit 095e495
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 8 deletions.
12 changes: 9 additions & 3 deletions .golangci.next.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3269,7 +3269,9 @@ linters-settings:
- blank-import
- bool-compare
- compares
- contains
- empty
- encoded-compare
- error-is-as
- error-nil
- expected-actual
Expand All @@ -3279,6 +3281,7 @@ linters-settings:
- len
- negative-positive
- nil-compare
- regexp
- require-error
- suite-broken-parallel
- suite-dont-use-pkg
Expand All @@ -3292,15 +3295,17 @@ linters-settings:
disable-all: true
# Enable checkers by name
# (in addition to default
# blank-import, bool-compare, compares, empty, error-is-as, error-nil, expected-actual, go-require, float-compare,
# formatter, len, negative-positive, nil-compare, require-error, suite-broken-parallel, suite-dont-use-pkg,
# suite-extra-assert-call, suite-subtest-run, useless-assert
# blank-import, bool-compare, compares, contains, empty, encoded-compare, error-is-as, error-nil, expected-actual,
# go-require, float-compare, formatter, len, negative-positive, nil-compare, regexp, require-error,
# suite-broken-parallel, suite-dont-use-pkg, suite-extra-assert-call, suite-subtest-run, useless-assert
# ).
enable:
- blank-import
- bool-compare
- compares
- contains
- empty
- encoded-compare
- error-is-as
- error-nil
- expected-actual
Expand All @@ -3310,6 +3315,7 @@ linters-settings:
- len
- negative-positive
- nil-compare
- regexp
- require-error
- suite-broken-parallel
- suite-dont-use-pkg
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/Abirdcfly/dupword v0.1.1
github.com/Antonboom/errname v0.1.13
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/Crocmagnon/fatcontext v0.5.2
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion jsonschema/golangci.next.jsonschema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2905,7 +2905,9 @@
"blank-import",
"bool-compare",
"compares",
"contains",
"empty",
"encoded-compare",
"error-is-as",
"error-nil",
"expected-actual",
Expand All @@ -2915,6 +2917,7 @@
"len",
"negative-positive",
"nil-compare",
"regexp",
"require-error",
"suite-broken-parallel",
"suite-dont-use-pkg",
Expand All @@ -2928,16 +2931,19 @@
"blank-import",
"bool-compare",
"compares",
"contains",
"empty",
"encoded-compare",
"error-is-as",
"error-nil",
"expected-actual",
"float-compare",
"float-compare",
"formatter",
"go-require",
"len",
"negative-positive",
"nil-compare",
"regexp",
"require-error",
"suite-broken-parallel",
"suite-dont-use-pkg",
Expand All @@ -2954,7 +2960,9 @@
"blank-import",
"bool-compare",
"compares",
"contains",
"empty",
"encoded-compare",
"error-is-as",
"error-nil",
"expected-actual",
Expand All @@ -2964,6 +2972,7 @@
"len",
"negative-positive",
"nil-compare",
"regexp",
"require-error",
"suite-broken-parallel",
"suite-dont-use-pkg",
Expand Down
2 changes: 1 addition & 1 deletion pkg/printers/printer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,5 +225,5 @@ func TestPrinter_Print_multiple(t *testing.T) {
goldenJSON, err := os.ReadFile(filepath.Join("testdata", "golden-json.json"))
require.NoError(t, err)

assert.Equal(t, string(goldenJSON), stdOutBuffer.String())
assert.JSONEq(t, string(goldenJSON), stdOutBuffer.String())
}

0 comments on commit 095e495

Please sign in to comment.