diff options
author | David Robillard <d@drobilla.net> | 2021-08-13 12:46:31 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-08-13 12:46:31 -0400 |
commit | 6a2962128761c4579877b86f6aeb2adc30f8e9ce (patch) | |
tree | 0b0101a905fe31f18f160913e6c0fae7e2774565 /test | |
parent | c37e9cccb6a8dfee42bb50ec2646ecc41f353ae2 (diff) | |
download | sratom-6a2962128761c4579877b86f6aeb2adc30f8e9ce.tar.gz sratom-6a2962128761c4579877b86f6aeb2adc30f8e9ce.tar.bz2 sratom-6a2962128761c4579877b86f6aeb2adc30f8e9ce.zip |
WIP
Diffstat (limited to 'test')
-rw-r--r-- | test/test_sratom.c | 15 |
1 files changed, 5 insertions, 10 deletions
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) || // |