aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_model.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_model.c')
-rw-r--r--test/test_model.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_model.c b/test/test_model.c
index d5b5eb8c..acefe05f 100644
--- a/test/test_model.c
+++ b/test/test_model.c
@@ -1058,7 +1058,10 @@ test_write_flat_range(SerdWorld* world, const unsigned n_quads)
SerdWriter* writer = serd_writer_new(world, SERD_TURTLE, 0, env, out);
SerdCursor* all = serd_model_begin(model);
- serd_describe_range(all, serd_writer_sink(writer), SERD_NO_INLINE_OBJECTS);
+ for (const SerdStatement* t = NULL; (t = serd_cursor_get(all));
+ serd_cursor_advance(all)) {
+ serd_sink_write_statement(serd_writer_sink(writer), 0u, t);
+ }
serd_cursor_free(all);
serd_writer_finish(writer);