diff options
author | David Robillard <d@drobilla.net> | 2021-07-11 18:44:03 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 3a4bd5f1b31cb5c1522d9e6c7222414342682467 (patch) | |
tree | f4d7f87260cdcdd39ad4051c113cadf149c4fa43 /test/test_writer.c | |
parent | 8c67f9eba47d30913749e607c440b170a5cbd804 (diff) | |
download | serd-3a4bd5f1b31cb5c1522d9e6c7222414342682467.tar.gz serd-3a4bd5f1b31cb5c1522d9e6c7222414342682467.tar.bz2 serd-3a4bd5f1b31cb5c1522d9e6c7222414342682467.zip |
[WIP] Remove SERD_CURIE node datatype entirely
Diffstat (limited to 'test/test_writer.c')
-rw-r--r-- | test/test_writer.c | 3 |
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); |