From 38181cbf7283593be2ef7bf4be890986b6a32b86 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 11 Mar 2022 18:23:15 -0500 Subject: fixup! port to serd1 --- test/test_sratom.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/test_sratom.c b/test/test_sratom.c index 4d0a2fe..f69f498 100644 --- a/test/test_sratom.c +++ b/test/test_sratom.c @@ -324,14 +324,14 @@ int main(void) { SerdWorld* const world = serd_world_new(NULL); - SerdEnv* const env = serd_env_new(world, SERD_STRING("file:///tmp/base/")); + SerdEnv* const env = serd_env_new(world, serd_string("file:///tmp/base/")); serd_env_set_prefix( - env, SERD_STRING("eg"), SERD_STRING("http://example.org/")); + env, serd_string("eg"), serd_string("http://example.org/")); - serd_env_set_prefix(env, SERD_STRING("atom"), SERD_STRING(NS_ATOM)); - serd_env_set_prefix(env, SERD_STRING("rdf"), SERD_STRING(NS_RDF)); - serd_env_set_prefix(env, SERD_STRING("xsd"), SERD_STRING(NS_XSD)); + serd_env_set_prefix(env, serd_string("atom"), serd_string(NS_ATOM)); + serd_env_set_prefix(env, serd_string("rdf"), serd_string(NS_RDF)); + serd_env_set_prefix(env, serd_string("xsd"), serd_string(NS_XSD)); const int st = (test(env, "Default", 0) || // -- cgit v1.2.1