summaryrefslogtreecommitdiff
path: root/tests/refs/peel.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/refs/peel.c')
-rw-r--r--tests/refs/peel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/refs/peel.c b/tests/refs/peel.c
index 542694c47..83f6109c0 100644
--- a/tests/refs/peel.c
+++ b/tests/refs/peel.c
@@ -93,7 +93,7 @@ void test_refs_peel__can_peel_a_symbolic_reference(void)
void test_refs_peel__cannot_peel_into_a_non_existing_target(void)
{
- assert_peel_error(GIT_ENOTFOUND, "refs/tags/point_to_blob", GIT_OBJ_TAG);
+ assert_peel_error(GIT_EINVALIDSPEC, "refs/tags/point_to_blob", GIT_OBJ_TAG);
}
void test_refs_peel__can_peel_into_any_non_tag_object(void)