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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_writer.c b/test/test_writer.c
index ee602044..655f79e9 100644
--- a/test/test_writer.c
+++ b/test/test_writer.c
@@ -305,7 +305,7 @@ test_write_empty_syntax(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_curie(serd_string("eg:o"));
+ SerdNode* o = serd_new_uri(serd_string("http://example.org/o"));
SerdBuffer buffer = {NULL, 0};
SerdOutputStream output = serd_open_output_buffer(&buffer);
@@ -423,6 +423,7 @@ test_write_bad_uri(void)
const SerdStatus st =
serd_sink_write(serd_writer_sink(writer), 0U, s, p, rel, NULL);
+
assert(st);
assert(st == SERD_BAD_ARG);