summaryrefslogtreecommitdiff
path: root/spew/testdata
diff options
context:
space:
mode:
authorDave Collins <[email protected]>2013-01-20 22:25:51 -0600
committerDave Collins <[email protected]>2013-01-20 22:31:09 -0600
commit2fc049e83c263a23e23f71e1546b2ba662221f81 (patch)
tree9fe160d44f01291fd1df1d08b811dd18f9f10094 /spew/testdata
parent3b5249e43ec83523352aa525755535deff059be7 (diff)
Add tests for unrecognized reflect values.
In order to help future proof itself, spew handles unrecognized reflect values by passing them on to the standard fmt library. Since spew handles all current reflect values in the language, this condition has to be manually tested with a bit of hackery by using unsafe to change the kind to a nonexistent value. As of this commit, there is now 100% test coverage.
Diffstat (limited to 'spew/testdata')
0 files changed, 0 insertions, 0 deletions