DirCacheCheckoutTest#testCheckoutHierarchy: Add missing call to fail()
Error Prone reports: Not calling fail() when expecting an exception masks bugs See https://errorprone.info/bugpattern/MissingFail Change-Id: I463510342bb6e6b99b31a0fe264d953340784393 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
parent
00698f9e27
commit
f02844caae
|
@ -929,6 +929,7 @@ public void testCheckoutHierarchy() throws IOException {
|
|||
"e/g3"));
|
||||
try {
|
||||
checkout();
|
||||
fail("did not throw CheckoutConflictException");
|
||||
} catch (CheckoutConflictException e) {
|
||||
assertWorkDir(mkmap("a", "a", "b/c", "b/c", "d", "d", "e/f",
|
||||
"e/f", "e/g", "e/g3"));
|
||||
|
|
Loading…
Reference in New Issue