summaryrefslogtreecommitdiff
path: root/tests/stash/apply.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stash/apply.c')
-rw-r--r--tests/stash/apply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stash/apply.c b/tests/stash/apply.c
index 986eba0f3..55e093c7f 100644
--- a/tests/stash/apply.c
+++ b/tests/stash/apply.c
@@ -34,7 +34,7 @@ void test_stash_apply__initialize(void)
cl_git_pass(git_index_add_bypath(repo_index, "who"));
cl_git_pass(git_index_add_bypath(repo_index, "why"));
cl_git_pass(git_index_add_bypath(repo_index, "where"));
- git_index_write(repo_index);
+ cl_git_pass(git_index_write(repo_index));
cl_git_rewritefile("stash/where", "....\n");