aboutsummaryrefslogtreecommitdiffstats
path: root/testdata/declared_errors.go
diff options
context:
space:
mode:
authorTeddy Wing2023-05-21 21:12:19 +0200
committerTeddy Wing2023-05-21 21:12:19 +0200
commit5637c27b828e63fa459d3b124400bc135d1c95df (patch)
tree4db3e32ffa2a65d2416a2b1ebd4958eead9f8987 /testdata/declared_errors.go
parent63a5452af97b6173fb17f754ce7ca3bce8e9729d (diff)
downloadgodefererr-5637c27b828e63fa459d3b124400bc135d1c95df.tar.bz2
Check whether returned name matches defer error name
Ensure the name of the returned error variable matches the name of the error variable assigned in the `defer` statement.
Diffstat (limited to 'testdata/declared_errors.go')
0 files changed, 0 insertions, 0 deletions