From 5e4538756d601e6a941c5290777af95ea8848e1a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 22 Jul 2021 15:26:22 -0400 Subject: [WIP] Preserve long or short quoting from input documents --- test/test_env.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/test_env.c') 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)); -- cgit v1.2.1