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:
parent
78c8659428
commit
2531d939e4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue