diff options
| author | Julian Ganz <neither@nut.email> | 2018-06-01 08:57:17 +0200 |
|---|---|---|
| committer | Julian Ganz <neither@nut.email> | 2018-06-01 13:40:55 +0200 |
| commit | d7eca4c39cdad217a813a3f02f3b8eb3ce3159f9 (patch) | |
| tree | e44b6169ea1d6cd0f5a20a8c97956c9c8d7754ce | |
| parent | 05e891f1f1bad3e2729a2e3800b314d5b63d43eb (diff) | |
| download | libgit2-d7eca4c39cdad217a813a3f02f3b8eb3ce3159f9.tar.gz | |
refdb_fs: add test for globbing of nonexistant refs
| -rw-r--r-- | tests/refs/foreachglob.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/refs/foreachglob.c b/tests/refs/foreachglob.c index a09191e79..a13529376 100644 --- a/tests/refs/foreachglob.c +++ b/tests/refs/foreachglob.c @@ -62,6 +62,11 @@ void test_refs_foreachglob__retrieve_local_branches(void) 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) { /* |
