diff options
Diffstat (limited to 'test/test_state.c')
-rw-r--r-- | test/test_state.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_state.c b/test/test_state.c index 2951b61..636d637 100644 --- a/test/test_state.c +++ b/test/test_state.c @@ -248,7 +248,7 @@ load_test_plugin(const TestContext* const ctx) LilvWorld* world = ctx->env->world; char* abs_bundle = lilv_path_absolute(LILV_TEST_BUNDLE); SerdNode* bundle = - serd_new_file_uri(NULL, SERD_STRING(abs_bundle), SERD_EMPTY_STRING()); + serd_new_file_uri(NULL, serd_string(abs_bundle), serd_empty_string()); LilvNode* bundle_uri = lilv_new_uri(world, serd_node_string(bundle)); LilvNode* plugin_uri = lilv_new_uri(world, TEST_PLUGIN_URI); @@ -550,9 +550,9 @@ count_statements(const char* path) size_t n_statements = 0; SerdWorld* const world = serd_world_new(NULL); - const SerdStringView path_view = SERD_STRING(path); + const SerdStringView path_view = serd_string(path); SerdNode* const base = - serd_new_file_uri(NULL, path_view, SERD_EMPTY_STRING()); + serd_new_file_uri(NULL, path_view, serd_empty_string()); SerdEnv* const env = serd_env_new(world, serd_node_string_view(base)); SerdSink* const sink = serd_sink_new(world, &n_statements, count_func, NULL); @@ -919,7 +919,7 @@ test_world_round_trip(void) // Load state bundle into world SerdNode* bundle_uri = - serd_new_file_uri(NULL, SERD_STRING(bundle_path), SERD_EMPTY_STRING()); + serd_new_file_uri(NULL, serd_string(bundle_path), serd_empty_string()); LilvNode* const bundle_node = lilv_new_uri(world, serd_node_string(bundle_uri)); |