aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_reader_writer.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-03-01 19:50:23 -0500
committerDavid Robillard <d@drobilla.net>2023-04-02 20:04:00 -0400
commitb7ed626f5396e70fb9fff94e7edce0b54fde1ca5 (patch)
tree9bc360de8ec906a598e7781438c8983251eaff8c /test/test_reader_writer.c
parent2eb037b3f1abebbac697c7d804f1e6339c907aaa (diff)
downloadserd-b7ed626f5396e70fb9fff94e7edce0b54fde1ca5.tar.gz
serd-b7ed626f5396e70fb9fff94e7edce0b54fde1ca5.tar.bz2
serd-b7ed626f5396e70fb9fff94e7edce0b54fde1ca5.zip
Improve TriG pretty-printing and remove trailing newlines
Diffstat (limited to 'test/test_reader_writer.c')
-rw-r--r--test/test_reader_writer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c
index 5a0509d3..32367bf7 100644
--- a/test/test_reader_writer.c
+++ b/test/test_reader_writer.c
@@ -1,4 +1,4 @@
-// Copyright 2011-2020 David Robillard <d@drobilla.net>
+// Copyright 2011-2023 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
#undef NDEBUG
@@ -363,7 +363,7 @@ test_writer(const char* const path)
serd_writer_free(writer);
out = serd_chunk_sink_finish(&chunk);
- assert(!strcmp((const char*)out, "<>\n\t<http://example.org/pred> .\n\n"));
+ assert(!strcmp((const char*)out, "<>\n\t<http://example.org/pred> .\n"));
serd_free(out);
serd_env_free(env);