Commit 64d1e0b37c036ea869c44720257734be3186c698

Patrick Steinhardt 2017-07-10T11:52:08

tests: submodule: fix declaration of test The testcase "submodule::lookup::cached" was declared with a single underscore separating the test suide and test name, only. As the clar parser only catches tests with two underscores, it was never executed. Add in the second underscore to actually have it detected and executed.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/tests/submodule/lookup.c b/tests/submodule/lookup.c
index e36fc44..95fa1bf 100644
--- a/tests/submodule/lookup.c
+++ b/tests/submodule/lookup.c
@@ -389,7 +389,8 @@ void test_submodule_lookup__renamed(void)
 	cl_assert_equal_i(8, data.count);
 }
 
-void test_submodule_lookup_cached(void) {
+void test_submodule_lookup__cached(void)
+{
 	git_submodule *sm;
 	git_submodule *sm2;
 	/* See that the simple tests still pass. */