Commit a889c05f2abfec5e45fa50faf7307c06c7c9b25b

Patrick Steinhardt 2017-07-10T11:55:33

tests: submodule: add explicit cleanup function in lookup tests

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/tests/submodule/lookup.c b/tests/submodule/lookup.c
index 95fa1bf..aa812fb 100644
--- a/tests/submodule/lookup.c
+++ b/tests/submodule/lookup.c
@@ -11,6 +11,11 @@ void test_submodule_lookup__initialize(void)
 	g_repo = setup_fixture_submod2();
 }
 
+void test_submodule_lookup__cleanup(void)
+{
+	cl_git_sandbox_cleanup();
+}
+
 void test_submodule_lookup__simple_lookup(void)
 {
 	assert_submodule_exists(g_repo, "sm_unchanged");