summaryrefslogtreecommitdiffstats
path: root/test/test_project_no_author.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-10-06 14:38:19 -0400
committerDavid Robillard <d@drobilla.net>2024-10-11 14:10:27 -0400
commit0a2de34d4fdcedf87e101a309aaa180fcdf18fcc (patch)
tree3932ab3a3ccea5b5dd56527afe5f046a83cc3f8c /test/test_project_no_author.c
parenta07a8818f22bfa6b467093f1efd287e86983fdf1 (diff)
downloadlilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.tar.gz
lilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.tar.bz2
lilv-0a2de34d4fdcedf87e101a309aaa180fcdf18fcc.zip
Add missing const qualifiersHEADmaster
Diffstat (limited to 'test/test_project_no_author.c')
-rw-r--r--test/test_project_no_author.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_project_no_author.c b/test/test_project_no_author.c
index 5b0e57d..3426e72 100644
--- a/test/test_project_no_author.c
+++ b/test/test_project_no_author.c
@@ -47,8 +47,8 @@ static const char* const plugin_ttl = "\
int
main(void)
{
- LilvTestEnv* const env = lilv_test_env_new();
- LilvWorld* const world = env->world;
+ LilvTestEnv* const env = lilv_test_env_new();
+ const LilvWorld* const world = env->world;
if (create_bundle(
env, "project_no_author.lv2", SIMPLE_MANIFEST_TTL, plugin_ttl)) {
@@ -62,13 +62,13 @@ main(void)
const LilvPlugin* plug = lilv_plugins_get_by_uri(plugins, env->plugin1_uri);
assert(plug);
- LilvNode* author_name = lilv_plugin_get_author_name(plug);
+ const LilvNode* author_name = lilv_plugin_get_author_name(plug);
assert(!author_name);
- LilvNode* author_email = lilv_plugin_get_author_email(plug);
+ const LilvNode* author_email = lilv_plugin_get_author_email(plug);
assert(!author_email);
- LilvNode* author_homepage = lilv_plugin_get_author_homepage(plug);
+ const LilvNode* author_homepage = lilv_plugin_get_author_homepage(plug);
assert(!author_homepage);
delete_bundle(env);