summaryrefslogtreecommitdiff
path: root/tests/t18-status.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t18-status.c')
-rw-r--r--tests/t18-status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t18-status.c b/tests/t18-status.c
index 2b90ac6f4..bfd6906c1 100644
--- a/tests/t18-status.c
+++ b/tests/t18-status.c
@@ -432,7 +432,7 @@ BEGIN_TEST(singlestatus4, "can't determine the status for a folder")
must_pass(git_repository_open(&repo, TEST_STD_REPO_FOLDER));
error = git_status_file(&status_flags, repo, "subdir");
- must_be_true(error == GIT_EINVALIDPATH);
+ must_be_true(error < 0);
git_repository_free(repo);