Skip to content

Commit afbd521

Browse files
committed
fix broken unit test
1 parent 2b9e7d2 commit afbd521

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bundles/org.eclipse.cdt.lsp.test/src/org/eclipse/cdt/lsp/test/internal/server/HasLanguageServerPropertyTesterTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,16 @@ public void cleanUp() throws CoreException {
5656
}
5757

5858
/**
59-
* Tests whether LS enable test returns false for an external file when no (LSP) editor is opened.
59+
* Tests whether LS enable test returns true for an external file when no (LSP) editor is opened.
6060
* @throws IOException
6161
*/
6262
@Test
6363
public void testLsNotEnabledForExternalFile_NoEditorOpen() throws CoreException, IOException {
6464
//GIVEN is an external file which is not opened:
6565
externalFile = new File(TEMP_DIR, EXTERNAL_HEADER_HPP);
6666
//WHEN the file is not opened,
67-
//THEN the hasLanguageServerPropertyTester.test returns FALSE for the given file URI:
68-
assertFalse(new HasLanguageServerPropertyTester().test(externalFile.toURI(), null, null, null));
67+
//THEN the hasLanguageServerPropertyTester.test returns TRUE for the given file URI:
68+
assertTrue(new HasLanguageServerPropertyTester().test(externalFile.toURI(), null, null, null));
6969
}
7070

7171
/**

0 commit comments

Comments
 (0)