aboutsummaryrefslogtreecommitdiffstats
path: root/testdata/declared_errors.go
diff options
context:
space:
mode:
authorTeddy Wing2023-05-21 18:21:06 +0200
committerTeddy Wing2023-05-21 18:21:06 +0200
commit63a5452af97b6173fb17f754ce7ca3bce8e9729d (patch)
tree7234e0e4b63e1f53d4781f7bdfe7ad2db4517d51 /testdata/declared_errors.go
parentc7eecf566b9e0272576055c05f38897954de7aa9 (diff)
downloadgodefererr-63a5452af97b6173fb17f754ce7ca3bce8e9729d.tar.bz2
Inspect return value looking at type and name
Want to check that the `return` statement uses the same variable used in the `defer` closure. Start inspecting the values to figure out how we can narrow that down. Add a test case for a "good" assignment of a returned error in `defer`.
Diffstat (limited to 'testdata/declared_errors.go')
0 files changed, 0 insertions, 0 deletions