Skip to content

Commit 9966cab

Browse files
build(deps): bump github.com/kisielk/errcheck from 1.7.0 to 1.8.0 (#5074)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
1 parent 90c0509 commit 9966cab

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ require (
6060
github.com/jjti/go-spancheck v0.6.2
6161
github.com/julz/importas v0.1.0
6262
github.com/karamaru-alpha/copyloopvar v1.1.0
63-
github.com/kisielk/errcheck v1.7.0
63+
github.com/kisielk/errcheck v1.8.0
6464
github.com/kkHAIKE/contextcheck v1.1.5
6565
github.com/kulti/thelper v0.6.3
6666
github.com/kunwardeep/paralleltest v1.0.10

go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//golangcitest:args -Eerrcheck
22
//golangcitest:config_path testdata/errcheck_type_assertions.yml
3-
//golangcitest:expected_exitcode 0
3+
//golangcitest:expected_exitcode 1
44
package testdata
55

66
func ErrorTypeAssertion(filter map[string]interface{}) bool {
7-
return filter["messages_sent.messageid"].(map[string]interface{})["$ne"] != nil
7+
return filter["messages_sent.messageid"].(map[string]interface{})["$ne"] != nil // want "Error return value is not checked"
88
}

0 commit comments

Comments
 (0)