summaryrefslogtreecommitdiff
path: root/spew/common_test.go
diff options
context:
space:
mode:
authorDave Collins <[email protected]>2013-01-20 20:44:21 -0600
committerDave Collins <[email protected]>2013-01-20 20:44:21 -0600
commita9907c15845e8273e99fd14a9f1641020ffd5cac (patch)
treeb8c5d2aafa6dc230f58d7b59dacc0c4773237239 /spew/common_test.go
parentf2641d5e6e2ffc7bb5d847b6552149f4f3b02136 (diff)
Improve invalid reflect value handling.
It was previously possible for an invalid reflect value to lead to a panic in certain obscure cases. Rather than adding multiple checks for the invalid reflect value, handle invalid reflect values immediately.
Diffstat (limited to 'spew/common_test.go')
0 files changed, 0 insertions, 0 deletions