summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-07-10 11:52:08 +0200
committerPatrick Steinhardt <ps@pks.im>2017-08-25 18:05:48 +0200
commit64d1e0b37c036ea869c44720257734be3186c698 (patch)
tree8bd5e5215ff57a76cc9ef6d940f569815edd2ed0
parent0a93ded1b931c0cd3476300a0794dc2f3e946356 (diff)
downloadlibgit2-64d1e0b37c036ea869c44720257734be3186c698.tar.gz
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.
-rw-r--r--tests/submodule/lookup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/submodule/lookup.c b/tests/submodule/lookup.c
index e36fc44e0..95fa1bf78 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. */