diff options
| author | Patrick Steinhardt <ps@pks.im> | 2018-06-06 14:31:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-06 14:31:28 +0200 |
| commit | 20306d36c8f3816335834f194593c5e3d6519cda (patch) | |
| tree | 090cd22fd58323e43f9eb88b83f17aa2db0a0414 /tests | |
| parent | 991bf69136b61f319f6fe06241774668da6d37d9 (diff) | |
| parent | d7eca4c39cdad217a813a3f02f3b8eb3ce3159f9 (diff) | |
| download | libgit2-20306d36c8f3816335834f194593c5e3d6519cda.tar.gz | |
Merge pull request #4665 from neithernut/fix-refdb-glob
refdb_fs: fix regression: failure when globbing for non-existant references
Diffstat (limited to 'tests')
| -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) { /* |
