Add the intended file to avoid breakage

This case breaks when the default is to disallow empty commits.

Change-Id: Ibc223092eefe9f4b21374717dee5a9399bf890f9
This commit is contained in:
Robin Rosenberg 2012-09-25 00:51:20 +02:00
parent 78c8659428
commit 2531d939e4
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public void failingPathsShouldNotResultInOKReturnValue() throws Exception {
file = new File(db.getWorkTree(), "unrelated.txt");
write(file, "unrelated");
git.add().addFilepattern("unrelated").call();
git.add().addFilepattern("unrelated.txt").call();
RevCommit head = git.commit().setMessage("Adding another file").call();
// Untracked file to cause failing path for delete() of folder1