aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-29 20:05:00 -0500
committerDavid Robillard <d@drobilla.net>2021-03-07 15:32:23 -0500
commit88402a1cddba79e339fc92037be2449c429c0780 (patch)
tree0764b3080cbf216ae5993ac77718ea10f3803f0f /test
parentf4b1ec91cff0a543a8f7e553ab2113a1c31e0d86 (diff)
downloadserd-88402a1cddba79e339fc92037be2449c429c0780.tar.gz
serd-88402a1cddba79e339fc92037be2449c429c0780.tar.bz2
serd-88402a1cddba79e339fc92037be2449c429c0780.zip
Rename SerdStyle to SerdWriterFlags
Diffstat (limited to 'test')
-rw-r--r--test/test_reader_writer.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c
index 35d46952..d0301a87 100644
--- a/test/test_reader_writer.c
+++ b/test/test_reader_writer.c
@@ -168,7 +168,7 @@ test_writer(const char* const path)
assert(fd);
SerdWriter* writer =
- serd_writer_new(SERD_TURTLE, (SerdStyle)0, env, NULL, serd_file_sink, fd);
+ serd_writer_new(SERD_TURTLE, 0, env, NULL, serd_file_sink, fd);
assert(writer);
serd_writer_chop_blank_prefix(writer, "tmp");
@@ -244,8 +244,8 @@ test_writer(const char* const path)
// Test buffer sink
SerdBuffer buffer = {NULL, 0};
- writer = serd_writer_new(
- SERD_TURTLE, (SerdStyle)0, env, NULL, serd_buffer_sink, &buffer);
+ writer =
+ serd_writer_new(SERD_TURTLE, 0, env, NULL, serd_buffer_sink, &buffer);
o = serd_node_from_string(SERD_URI, "http://example.org/base");
assert(!serd_writer_set_base_uri(writer, &o));
@@ -260,8 +260,7 @@ test_writer(const char* const path)
SerdNode nothing = serd_node_from_string(SERD_NOTHING, "");
FILE* const empty = tmpfile();
- writer = serd_writer_new(
- SERD_TURTLE, (SerdStyle)0, env, NULL, serd_file_sink, empty);
+ writer = serd_writer_new(SERD_TURTLE, 0, env, NULL, serd_file_sink, empty);
// FIXME: error handling
serd_writer_write_statement(writer, 0, NULL, &s, &p, &nothing, NULL, NULL);