diff options
Diffstat (limited to 'test/test_no_verify.c')
-rw-r--r-- | test/test_no_verify.c | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/test/test_no_verify.c b/test/test_no_verify.c index 70812a5..cf6e0fd 100644 --- a/test/test_no_verify.c +++ b/test/test_no_verify.c @@ -27,22 +27,21 @@ static const char* const plugin_ttl = ":plug a lv2:Plugin .\n"; int main(void) { - LilvTestEnv* const env = lilv_test_env_new(); - LilvWorld* const world = env->world; + LilvTestEnv* const env = lilv_test_env_new(); + LilvWorld* const world = env->world; - if (start_bundle(env, SIMPLE_MANIFEST_TTL, plugin_ttl)) { - return 1; - } + if (start_bundle(env, SIMPLE_MANIFEST_TTL, plugin_ttl)) { + return 1; + } - const LilvPlugins* plugins = lilv_world_get_all_plugins(world); - const LilvPlugin* explug = - lilv_plugins_get_by_uri(plugins, env->plugin1_uri); + const LilvPlugins* plugins = lilv_world_get_all_plugins(world); + const LilvPlugin* explug = lilv_plugins_get_by_uri(plugins, env->plugin1_uri); - assert(explug); - assert(!lilv_plugin_verify(explug)); + assert(explug); + assert(!lilv_plugin_verify(explug)); - delete_bundle(env); - lilv_test_env_free(env); + delete_bundle(env); + lilv_test_env_free(env); - return 0; + return 0; } |