Skip to content

Commit 61b6ff0

Browse files
committed
Fix
1 parent 44ade0f commit 61b6ff0

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.golangci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ linters:
7979
- depguard # Go linter that checks if package imports are in a list of acceptable packages [fast: true, auto-fix: false]
8080
- dupl # Tool for code clone detection [fast: true, auto-fix: false]
8181
- errorlint # errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13. [fast: false, auto-fix: false]
82-
- execinquery # execinquery is a linter about query string checker in Query function which reads your Go src files and warning it finds [fast: false, auto-fix: false]
8382
- exhaustive # check exhaustiveness of enum switch statements [fast: false, auto-fix: false]
8483
- forcetypeassert # finds forced type assertions [fast: true, auto-fix: false]
8584
- funlen # Tool for detection of long functions [fast: true, auto-fix: false]
@@ -89,7 +88,6 @@ linters:
8988
- godot # Check if comments end in a period [fast: true, auto-fix: true]
9089
- godox # Tool for detection of FIXME, TODO and other comment keywords [fast: true, auto-fix: false]
9190
- err113 # Golang linter to check the errors handling expressions [fast: false, auto-fix: false]
92-
- gomnd # An analyzer to detect magic numbers. [fast: true, auto-fix: false]
9391
- lll # Reports long lines [fast: true, auto-fix: false]
9492
- maintidx # maintidx measures the maintainability index of each function. [fast: true, auto-fix: false]
9593
- nestif # Reports deeply nested if statements [fast: true, auto-fix: false]

core/result_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ func TestResult(t *testing.T) {
2222
assert.Equal(t, "", humanOutput)
2323
jsonOutput, err := result.MarshalJSON()
2424
require.NoError(t, err)
25-
assert.Equal(t, []byte("{}"), jsonOutput)
25+
assert.JSONEq(t, "{}", string(jsonOutput))
2626
}

0 commit comments

Comments
 (0)