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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_writer.c b/test/test_writer.c
index 0a823d2b..6a7a35b5 100644
--- a/test/test_writer.c
+++ b/test/test_writer.c
@@ -118,10 +118,10 @@ test_strict_write(void)
SerdNode bad_uri = serd_node_from_string(SERD_URI, (const char*)bad_str);
assert(serd_writer_write_statement(
- writer, 0, NULL, &s, &p, &bad_lit, NULL, NULL) == SERD_ERR_BAD_TEXT);
+ writer, 0, NULL, &s, &p, &bad_lit, NULL, NULL) == SERD_BAD_TEXT);
assert(serd_writer_write_statement(
- writer, 0, NULL, &s, &p, &bad_uri, NULL, NULL) == SERD_ERR_BAD_TEXT);
+ writer, 0, NULL, &s, &p, &bad_uri, NULL, NULL) == SERD_BAD_TEXT);
serd_writer_free(writer);
serd_env_free(env);
@@ -152,7 +152,7 @@ test_write_error(void)
SERD_TURTLE, (SerdWriterFlags)0, env, NULL, error_sink, NULL);
assert(writer);
st = serd_writer_write_statement(writer, 0U, NULL, &u, &u, &u, NULL, NULL);
- assert(st == SERD_ERR_BAD_WRITE);
+ assert(st == SERD_BAD_WRITE);
serd_writer_free(writer);
serd_env_free(env);