aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_reader_writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_reader_writer.c')
-rw-r--r--test/test_reader_writer.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c
index aa820fa6..df2c3957 100644
--- a/test/test_reader_writer.c
+++ b/test/test_reader_writer.c
@@ -179,8 +179,11 @@ test_writer(const char* const path)
const SerdStringView en = serd_string("en");
SerdNode* const o = serd_new_string(serd_string("o"));
- SerdNode* const t = serd_new_typed_literal(serd_string("t"), urn_Type);
- SerdNode* const l = serd_new_plain_literal(serd_string("l"), en);
+
+ SerdNode* const t =
+ serd_new_literal(serd_string("t"), SERD_HAS_DATATYPE, urn_Type);
+
+ SerdNode* const l = serd_new_literal(serd_string("l"), SERD_HAS_LANGUAGE, en);
const SerdNode* good[][3] = {{s, p, o}, {s, p, t}, {s, p, l}};