aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_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_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_writer.c')
-rw-r--r--test/test_writer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_writer.c b/test/test_writer.c
index b740eafb..c1a5f468 100644
--- a/test/test_writer.c
+++ b/test/test_writer.c
@@ -1,4 +1,4 @@
-// Copyright 2011-2021 David Robillard <d@drobilla.net>
+// Copyright 2011-2023 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
#undef NDEBUG
@@ -35,7 +35,7 @@ test_write_long_literal(void)
static const char* const expected =
"<http://example.org/s>\n"
- "\t<http://example.org/p> \"\"\"hello \"\"\\\"world\"\"\\\"!\"\"\" .\n\n";
+ "\t<http://example.org/p> \"\"\"hello \"\"\\\"world\"\"\\\"!\"\"\" .\n";
assert(!strcmp((char*)out, expected));
serd_free(out);