aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_reader_writer.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-05 10:34:37 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 16:27:02 -0500
commitfebb30141356df83a56026bbb14099e3cb2c82fc (patch)
treef1d2abcdc3872e375ffe8e4138a8043c20b3b1a8 /test/test_reader_writer.c
parentb739848b6ea4c038610ceb7c0b00984a86d99fa9 (diff)
downloadserd-febb30141356df83a56026bbb14099e3cb2c82fc.tar.gz
serd-febb30141356df83a56026bbb14099e3cb2c82fc.tar.bz2
serd-febb30141356df83a56026bbb14099e3cb2c82fc.zip
Use more human-readable status codes
Diffstat (limited to 'test/test_reader_writer.c')
-rw-r--r--test/test_reader_writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c
index 0fcc5ba3..f6dfe512 100644
--- a/test/test_reader_writer.c
+++ b/test/test_reader_writer.c
@@ -435,7 +435,7 @@ test_write_errors(void)
serd_writer_set_error_sink(writer, quiet_error_sink, NULL);
const SerdStatus st = serd_reader_read_string(reader, doc_string);
- assert(st == SERD_ERR_BAD_WRITE);
+ assert(st == SERD_BAD_WRITE);
serd_reader_free(reader);
serd_writer_free(writer);