[test] Fix a Windows-only test in CheckoutCommandTest
Test.txt should not be in the "removed" list if it can't be deleted but only in the "not deleted" list. The test was wrong. Bug: 550111 Change-Id: I3ecede4278014c15015c8c24089647fa3db3742f Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
This commit is contained in:
parent
f8eb530711
commit
d4d30bc716
|
@ -868,7 +868,7 @@ public void testNonDeletableFilesOnWindows()
|
|||
coCommand.setName(crudCommit.getName()).call();
|
||||
CheckoutResult result = coCommand.getResult();
|
||||
assertEquals(Status.NONDELETED, result.getStatus());
|
||||
assertEquals("[Test.txt, toBeDeleted.txt]",
|
||||
assertEquals("[toBeDeleted.txt]",
|
||||
result.getRemovedList().toString());
|
||||
assertEquals("[toBeCreated.txt, toBeModified.txt]",
|
||||
result.getModifiedList().toString());
|
||||
|
|
Loading…
Reference in New Issue