aboutsummaryrefslogtreecommitdiffstats
path: root/test/headers
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-03-16 14:51:40 -0400
committerDavid Robillard <d@drobilla.net>2025-03-16 20:26:27 -0400
commit269a0192b68ca653bcc1e9d1990453ba3edc564c (patch)
tree3d85334649266b4e71641101c0aa324afb9f7363 /test/headers
parent81602f6c59ef8b9595f8fc6ad5065a22ab536858 (diff)
downloadserd-269a0192b68ca653bcc1e9d1990453ba3edc564c.tar.gz
serd-269a0192b68ca653bcc1e9d1990453ba3edc564c.tar.bz2
serd-269a0192b68ca653bcc1e9d1990453ba3edc564c.zip
Strengthen exhaustive write error test
Factor out the check, then also check that writing with enough space succeeds. This makes the test more future-proof since it will fail if the maximum sizes aren't updated (meaning errors near the end of the document aren't covered). Strengthen the check itself by including the status of serd_writer_finish(), and bump the Turtle and TriG sizes by the three corresponding trailing bytes.
Diffstat (limited to 'test/headers')
0 files changed, 0 insertions, 0 deletions