summaryrefslogtreecommitdiffstats
path: root/test/test_sratom.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-03-11 18:23:15 -0500
committerDavid Robillard <d@drobilla.net>2022-03-11 18:23:15 -0500
commit38181cbf7283593be2ef7bf4be890986b6a32b86 (patch)
tree4457a6528b5ff2e22e98bc68d197ed659d9c5b8e /test/test_sratom.c
parentd9ceeea13b1dd0f7ea91b0df747eeaf085bdc88e (diff)
downloadsratom-38181cbf7283593be2ef7bf4be890986b6a32b86.tar.gz
sratom-38181cbf7283593be2ef7bf4be890986b6a32b86.tar.bz2
sratom-38181cbf7283593be2ef7bf4be890986b6a32b86.zip
fixup! port to serd1
Diffstat (limited to 'test/test_sratom.c')
-rw-r--r--test/test_sratom.c10
1 files changed, 5 insertions, 5 deletions
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) || //