diff options
author | David Robillard <d@drobilla.net> | 2021-08-13 12:46:05 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-08-13 12:46:05 -0400 |
commit | 6f36b5a3fb181f6b9f9b1538d894efe24a0e92c7 (patch) | |
tree | 0d3ae8a9a384fed74317828843b290e762448e76 /test/test_state.c | |
parent | b72238c97fe2e3c9db550af7d4b22d41c8350eaf (diff) | |
download | lilv-6f36b5a3fb181f6b9f9b1538d894efe24a0e92c7.tar.gz lilv-6f36b5a3fb181f6b9f9b1538d894efe24a0e92c7.tar.bz2 lilv-6f36b5a3fb181f6b9f9b1538d894efe24a0e92c7.zip |
fixup! WIP: Port to serd1
Diffstat (limited to 'test/test_state.c')
-rw-r--r-- | test/test_state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_state.c b/test/test_state.c index e12bfdc..1acad5e 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(SERD_MEASURE_STRING(abs_bundle), SERD_EMPTY_STRING()); + serd_new_file_uri(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,7 +550,7 @@ count_statements(const char* path) size_t n_statements = 0; SerdWorld* const world = serd_world_new(); - const SerdStringView path_view = SERD_MEASURE_STRING(path); + const SerdStringView path_view = SERD_STRING(path); SerdNode* const base = serd_new_file_uri(path_view, SERD_EMPTY_STRING()); SerdEnv* const env = serd_env_new(serd_node_string_view(base)); @@ -919,7 +919,7 @@ test_world_round_trip(void) // Load state bundle into world SerdNode* bundle_uri = - serd_new_file_uri(SERD_MEASURE_STRING(bundle_path), SERD_EMPTY_STRING()); + serd_new_file_uri(SERD_STRING(bundle_path), SERD_EMPTY_STRING()); LilvNode* const bundle_node = lilv_new_uri(world, serd_node_string(bundle_uri)); LilvNode* const state_node = lilv_new_uri(world, state_uri); |