Commit d7eca4c3 by Julian Ganz

refdb_fs: add test for globbing of nonexistant refs

parent 05e891f1
...@@ -62,6 +62,11 @@ void test_refs_foreachglob__retrieve_local_branches(void) ...@@ -62,6 +62,11 @@ void test_refs_foreachglob__retrieve_local_branches(void)
assert_retrieval("refs/heads/*", 12); assert_retrieval("refs/heads/*", 12);
} }
void test_refs_foreachglob__retrieve_nonexistant(void)
{
assert_retrieval("refs/nonexistent/*", 0);
}
void test_refs_foreachglob__retrieve_partially_named_references(void) void test_refs_foreachglob__retrieve_partially_named_references(void)
{ {
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment