summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-18 17:05:19 +0100
committerDavid Robillard <d@drobilla.net>2020-12-18 17:38:35 +0100
commitdfe0b71df1dde284f1aa9cf7ba3d85e19ce1b5a5 (patch)
tree359c614e095243cc68108b344c8607b2138a8611 /test
parenta9d60127562f5ce873494699c4df9495a4b2d9b4 (diff)
downloadlilv-dfe0b71df1dde284f1aa9cf7ba3d85e19ce1b5a5.tar.gz
lilv-dfe0b71df1dde284f1aa9cf7ba3d85e19ce1b5a5.tar.bz2
lilv-dfe0b71df1dde284f1aa9cf7ba3d85e19ce1b5a5.zip
Ensure that bundles are removed in state tests
Diffstat (limited to 'test')
-rw-r--r--test/test_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_state.c b/test/test_state.c
index efa5cc5..dffacee 100644
--- a/test/test_state.c
+++ b/test/test_state.c
@@ -664,8 +664,8 @@ test_to_files(void)
lilv_instance_free(instance);
lilv_dir_for_each(bundle_2_path, NULL, remove_file);
lilv_dir_for_each(bundle_1_path, NULL, remove_file);
- lilv_remove(bundle_2_path);
- lilv_remove(bundle_1_path);
+ assert(!lilv_remove(bundle_2_path));
+ assert(!lilv_remove(bundle_1_path));
cleanup_test_directories(dirs);
free(recfile_link_2);