diff options
author | David Robillard <d@drobilla.net> | 2021-07-22 15:26:22 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 5e4538756d601e6a941c5290777af95ea8848e1a (patch) | |
tree | 9868e188a48a528e9908fcf695147f75790c3a56 /test/test_reader_writer.c | |
parent | 64024d0fa6a6dc048b2b846738846da597025f56 (diff) | |
download | serd-5e4538756d601e6a941c5290777af95ea8848e1a.tar.gz serd-5e4538756d601e6a941c5290777af95ea8848e1a.tar.bz2 serd-5e4538756d601e6a941c5290777af95ea8848e1a.zip |
[WIP] Preserve long or short quoting from input documents
Diffstat (limited to 'test/test_reader_writer.c')
-rw-r--r-- | test/test_reader_writer.c | 7 |
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}}; |