aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_writer.c')
-rw-r--r--test/test_writer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_writer.c b/test/test_writer.c
index 19aaf4b3..be90b09e 100644
--- a/test/test_writer.c
+++ b/test/test_writer.c
@@ -61,9 +61,7 @@ test_write_long_literal(void)
SerdNode* s = serd_new_uri(SERD_STRING("http://example.org/s"));
SerdNode* p = serd_new_uri(SERD_STRING("http://example.org/p"));
- SerdNode* o = serd_new_literal(SERD_STRING("hello \"\"\"world\"\"\"!"),
- SERD_EMPTY_STRING(),
- SERD_EMPTY_STRING());
+ SerdNode* o = serd_new_string(SERD_STRING("hello \"\"\"world\"\"\"!"));
assert(!serd_sink_write(serd_writer_sink(writer), 0, s, p, o, NULL));