aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_reader_writer.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-04-09 15:41:36 -0400
committerDavid Robillard <d@drobilla.net>2021-04-09 16:15:00 -0400
commita627bf523eba114b0e2466c77bd379d17c7195c6 (patch)
treec0951958a93da739005ffab2ab5b216cb5eef8ec /test/test_reader_writer.c
parent36f1cecc1fdb803bf04d2ab60bd13dd257a9e525 (diff)
downloadserd-a627bf523eba114b0e2466c77bd379d17c7195c6.tar.gz
serd-a627bf523eba114b0e2466c77bd379d17c7195c6.tar.bz2
serd-a627bf523eba114b0e2466c77bd379d17c7195c6.zip
Write statements with invalid URI characters in lax mode
Diffstat (limited to 'test/test_reader_writer.c')
-rw-r--r--test/test_reader_writer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c
index 573b13de..134c7a8e 100644
--- a/test/test_reader_writer.c
+++ b/test/test_reader_writer.c
@@ -59,6 +59,7 @@ test_sink(void* handle,
static size_t
eof_test_read(void* buf, size_t size, size_t nmemb, void* stream)
{
+ assert(size == 1);
assert(nmemb == 1);
static const char* const string = "_:s1 <http://example.org/p> _:o1 .\n"