aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-03-01 11:57:44 -0500
committerDavid Robillard <d@drobilla.net>2021-03-08 23:23:05 -0500
commit0be7ffef641d8ac4db8ab25857f960a9d4cfb719 (patch)
tree7880d5d04c958179c91f3fcd156d67d6476fceba /test
parent2824a66adfec03a242f8df8b855af2061b39c13d (diff)
downloadserd-0be7ffef641d8ac4db8ab25857f960a9d4cfb719.tar.gz
serd-0be7ffef641d8ac4db8ab25857f960a9d4cfb719.tar.bz2
serd-0be7ffef641d8ac4db8ab25857f960a9d4cfb719.zip
WIP: Write invalid characters in URIs with percent encoding
Diffstat (limited to 'test')
-rw-r--r--test/test_reader_writer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c
index f526a68c..8cbce04e 100644
--- a/test/test_reader_writer.c
+++ b/test/test_reader_writer.c
@@ -40,7 +40,9 @@ static size_t
eof_test_read(void* buf, size_t size, size_t nmemb, void* stream)
{
assert(size == 1);
+ assert(nmemb == 1);
(void)size;
+ (void)nmemb;
static const char* const string = "_:s1 <http://example.org/p> _:o1 .\n"
"_:s2 <http://example.org/p> _:o2 .\n";