diff options
author | Vicent Marti <vicent@github.com> | 2014-08-31 17:47:14 +0200 |
---|---|---|
committer | Vicent Marti <vicent@github.com> | 2014-08-31 17:47:14 +0200 |
commit | 69b584593ee849d8af1bd0045c0f625d91e1d436 (patch) | |
tree | e085b50552470f184624ae05d536ea00a7d3f075 | |
parent | 46a13f32472741f0ed66db7cb75c8cff279886ad (diff) | |
parent | aff700182518471941be2cfb0659a1c611a854ba (diff) | |
download | libgit2-69b584593ee849d8af1bd0045c0f625d91e1d436.tar.gz |
Merge pull request #2544 from linquize/test-push
MSVC does not support zero size array
-rw-r--r-- | tests/online/push.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/online/push.c b/tests/online/push.c index 4d88bdf7f..70ec705fe 100644 --- a/tests/online/push.c +++ b/tests/online/push.c @@ -864,7 +864,6 @@ void test_online_push__notes(void) push_status exp_stats[] = { { "refs/notes/commits", 1 } }; expected_ref exp_refs[] = { { "refs/notes/commits", &expected_oid } }; const char *specs_del[] = { ":refs/notes/commits" }; - expected_ref exp_refs_del[] = { }; git_oid_fromstr(&expected_oid, "8461a99b27b7043e58ff6e1f5d2cf07d282534fb"); @@ -882,7 +881,7 @@ void test_online_push__notes(void) do_push(specs_del, ARRAY_SIZE(specs_del), exp_stats, 1, - exp_refs_del, ARRAY_SIZE(exp_refs_del), 0, 0, 0); + NULL, 0, 0, 0, 0); git_signature_free(signature); } |