diff --git a/clients/cobol-lsp-vscode-extension/syntaxes/CICS.tmLanguage.json b/clients/cobol-lsp-vscode-extension/syntaxes/CICS.tmLanguage.json index 5f53beda2f..649c97a45e 100644 --- a/clients/cobol-lsp-vscode-extension/syntaxes/CICS.tmLanguage.json +++ b/clients/cobol-lsp-vscode-extension/syntaxes/CICS.tmLanguage.json @@ -30,7 +30,7 @@ ] }, "cics-keywords": { - "match": "(?[Read more](https://www.ibm.com/support/knowledgecenter/en/SS6SG3_6.2.0/com.ibm.cobol62.ent.doc/PGandLR/ref/rlfde.html)
\u00A9 Copyright IBM Corporation 1994, 2019.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. CONTENT=The calling program passes only the contents of the literal or identifier.
[Read more](https://www.ibm.com/support/knowledgecenter/en/SS6SG3_6.2.0/com.ibm.cobol62.ent.doc/PGandLR/tasks/tpshr03.html)
\u00A9 Copyright IBM Corporation 1994, 2019.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. CONTENTS= diff --git a/server/engine/src/test/java/org/eclipse/lsp/cobol/service/delegates/completions/KeywordCompletionTest.java b/server/engine/src/test/java/org/eclipse/lsp/cobol/service/delegates/completions/KeywordCompletionTest.java index bf6eafe7a6..cb837be8c1 100644 --- a/server/engine/src/test/java/org/eclipse/lsp/cobol/service/delegates/completions/KeywordCompletionTest.java +++ b/server/engine/src/test/java/org/eclipse/lsp/cobol/service/delegates/completions/KeywordCompletionTest.java @@ -15,8 +15,17 @@ package org.eclipse.lsp.cobol.service.delegates.completions; +import static org.hamcrest.MatcherAssert.assertThat; +import static org.hamcrest.Matchers.is; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; + import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; +import java.util.List; +import java.util.Optional; import org.eclipse.lsp.cobol.common.AnalysisResult; import org.eclipse.lsp.cobol.common.dialects.CobolDialect; import org.eclipse.lsp.cobol.core.engine.dialects.DialectService; @@ -28,16 +37,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import java.util.List; -import java.util.Optional; - -import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.Matchers.is; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.mockito.ArgumentMatchers.any; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.when; - /** * This test {@link KeywordCompletion} asserts that filtration and preparing the keyword completion * suggestions works correctly @@ -85,16 +84,16 @@ void testGetStreamDataMap() { Keywords keywords = new Keywords(mock(SettingsService.class), dialectService); List dialectType = ImmutableList.of(); - assertEquals(2344, keywords.getDataMap(dialectType).size()); + assertEquals(2346, keywords.getDataMap(dialectType).size()); dialectType = ImmutableList.of("IDMS"); - assertEquals(2345, keywords.getDataMap(dialectType).size()); + assertEquals(2347, keywords.getDataMap(dialectType).size()); dialectType = ImmutableList.of("DaCo"); - assertEquals(2346, keywords.getDataMap(dialectType).size()); + assertEquals(2348, keywords.getDataMap(dialectType).size()); dialectType = ImmutableList.of("DaCo", "IDMS"); - assertEquals(2347, keywords.getDataMap(dialectType).size()); + assertEquals(2349, keywords.getDataMap(dialectType).size()); } @Test