Skip to content

Commit

Permalink
WorkspaceEventHandlerTest.testDeleteProjectFolder fails
Browse files Browse the repository at this point in the history
Signed-off-by: Snjezana Peco <[email protected]>
  • Loading branch information
snjeza authored and rgrunber committed Mar 1, 2023
1 parent f8fce71 commit 3537ef2
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public void testDeleteProjectFolder() throws Exception {
assertFalse(module2.exists());

List<PublishDiagnosticsParams> diags = getClientRequests("publishDiagnostics");
assertEquals(9L, diags.size());
assertEquals(7, diags.size());
assertEndsWith(diags.get(0).getUri(), "/module2");
assertEndsWith(diags.get(1).getUri(), "/multimodule3");
assertEndsWith(diags.get(2).getUri(), "/multimodule3/pom.xml");
Expand All @@ -165,8 +165,6 @@ public void testDeleteProjectFolder() throws Exception {
assertEquals(0L, diags.get(5).getDiagnostics().size());
assertEndsWith(diags.get(6).getUri(), "/AppTest.java");
assertEquals(0L, diags.get(6).getDiagnostics().size());
assertEndsWith(diags.get(7).getUri(), "/multimodule3");
assertEndsWith(diags.get(8).getUri(), "/multimodule3/pom.xml");
}

private void assertEndsWith(String target, String suffix) {
Expand Down

0 comments on commit 3537ef2

Please sign in to comment.