aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_env.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-07-22 15:26:22 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit5e4538756d601e6a941c5290777af95ea8848e1a (patch)
tree9868e188a48a528e9908fcf695147f75790c3a56 /test/test_env.c
parent64024d0fa6a6dc048b2b846738846da597025f56 (diff)
downloadserd-5e4538756d601e6a941c5290777af95ea8848e1a.tar.gz
serd-5e4538756d601e6a941c5290777af95ea8848e1a.tar.bz2
serd-5e4538756d601e6a941c5290777af95ea8848e1a.zip
[WIP] Preserve long or short quoting from input documents
Diffstat (limited to 'test/test_env.c')
-rw-r--r--test/test_env.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test_env.c b/test/test_env.c
index d2c80343..d45f2ef6 100644
--- a/test/test_env.c
+++ b/test/test_env.c
@@ -161,8 +161,10 @@ test_expand_bad_uri_datatype(void)
{
const SerdStringView type = serd_string("Type");
- SerdNode* const typed = serd_new_typed_literal(serd_string("data"), type);
- SerdEnv* const env = serd_env_new(serd_empty_string());
+ SerdNode* const typed =
+ serd_new_literal(serd_string("data"), SERD_HAS_DATATYPE, type);
+
+ SerdEnv* const env = serd_env_new(serd_empty_string());
assert(!serd_env_expand(env, typed));