summaryrefslogtreecommitdiffstats
path: root/tests/getsrc_die.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2018-06-06 23:35:35 +0200
committerMark Wielaard <[email protected]>2018-06-08 12:03:14 +0200
commit07d2098890e9113079bae64f6fc7f4069f7b12cd (patch)
treedb486d7167a4eb824b0876ebd4eb0bd87c96fdff /tests/getsrc_die.c
parent7ae7ec1ad75dd0689b5371c2e157165c4c7944c9 (diff)
tests: Use error, not assert, when trying to print a non-base type DIE.
When using the varlocs test with a fuzzer using assert for internal sanity checks is great to find issues. But when encountering bad data using an assert is wrong. Just use error to show we handle the data correctly (by reporting it is bad, instead of crashing). Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/getsrc_die.c')
0 files changed, 0 insertions, 0 deletions