From dfe0b71df1dde284f1aa9cf7ba3d85e19ce1b5a5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 18 Dec 2020 17:05:19 +0100 Subject: Ensure that bundles are removed in state tests --- test/test_state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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); -- cgit v1.2.1