From 6a2962128761c4579877b86f6aeb2adc30f8e9ce Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 13 Aug 2021 12:46:31 -0400 Subject: WIP --- test/test_sratom.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'test/test_sratom.c') diff --git a/test/test_sratom.c b/test/test_sratom.c index 11154d4..06c3512 100644 --- a/test/test_sratom.c +++ b/test/test_sratom.c @@ -323,19 +323,14 @@ test(SerdEnv* env, const char* name, const SratomDumperFlags flags) int main(void) { - SerdEnv* const env = serd_env_new(SERD_STATIC_STRING("file:///tmp/base/")); + SerdEnv* const env = serd_env_new(SERD_STRING("file:///tmp/base/")); serd_env_set_prefix( - env, SERD_STATIC_STRING("eg"), SERD_STATIC_STRING("http://example.org/")); + env, SERD_STRING("eg"), SERD_STRING("http://example.org/")); - serd_env_set_prefix( - env, SERD_STATIC_STRING("atom"), SERD_STATIC_STRING(NS_ATOM)); - - serd_env_set_prefix( - env, SERD_STATIC_STRING("rdf"), SERD_STATIC_STRING(NS_RDF)); - - serd_env_set_prefix( - env, SERD_STATIC_STRING("xsd"), SERD_STATIC_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