Skip to content

Commit

Permalink
Update testdata/unhandled-error-w-ignorelist.go
Browse files Browse the repository at this point in the history
  • Loading branch information
denisvmedia authored Jan 8, 2024
1 parent a7e2cce commit 96d7db7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions testdata/unhandled-error-w-ignorelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,10 @@ func testCase5() {
s2.reterr() // ignore
s2.reterr1() // MATCH /Unhandled error in call to function fixtures.unhandledErrorStruct2.reterr1/
}

func testCase6() {
f := func() error {
return nil
}
f() // MATCH /Unhandled error in call to function f/
}

0 comments on commit 96d7db7

Please sign in to comment.