diff --git a/src/test/java/com/redhat/devtools/lsp4ij/features/foldingRange/TypeScriptCodeBlockProviderTest.java b/src/test/java/com/redhat/devtools/lsp4ij/features/foldingRange/TypeScriptCodeBlockProviderTest.java index e489ad7e7..295df1dfc 100644 --- a/src/test/java/com/redhat/devtools/lsp4ij/features/foldingRange/TypeScriptCodeBlockProviderTest.java +++ b/src/test/java/com/redhat/devtools/lsp4ij/features/foldingRange/TypeScriptCodeBlockProviderTest.java @@ -39,7 +39,7 @@ public void testCodeBlocks() { ] """; - assertCodeBlocks( + assertCodeBlock( testFilename, """ export class Demo { @@ -51,7 +51,7 @@ export class Demo { mockFoldingRangesJson ); - assertCodeBlocks( + assertCodeBlock( testFilename, """ export class Demo { @@ -63,7 +63,7 @@ export class Demo { mockFoldingRangesJson ); - assertCodeBlocks( + assertCodeBlock( testFilename, """ export class Demo { @@ -75,7 +75,7 @@ export class Demo { mockFoldingRangesJson ); - assertCodeBlocks( + assertCodeBlock( testFilename, """ export class Demo { @@ -87,7 +87,7 @@ export class Demo { mockFoldingRangesJson ); - assertCodeBlocks( + assertCodeBlock( testFilename, """ export class Demo { @@ -99,7 +99,7 @@ export class Demo { mockFoldingRangesJson ); - assertCodeBlocks( + assertCodeBlock( testFilename, """ export class Demo { @@ -111,7 +111,7 @@ export class Demo { mockFoldingRangesJson ); - assertCodeBlocks( + assertCodeBlock( testFilename, """ export class Demo { diff --git a/src/test/java/com/redhat/devtools/lsp4ij/fixtures/LSPCodeBlockProviderFixtureTestCase.java b/src/test/java/com/redhat/devtools/lsp4ij/fixtures/LSPCodeBlockProviderFixtureTestCase.java index f235a559a..a67ddf369 100644 --- a/src/test/java/com/redhat/devtools/lsp4ij/fixtures/LSPCodeBlockProviderFixtureTestCase.java +++ b/src/test/java/com/redhat/devtools/lsp4ij/fixtures/LSPCodeBlockProviderFixtureTestCase.java @@ -40,9 +40,9 @@ protected LSPCodeBlockProviderFixtureTestCase(String... fileNamePatterns) { super(fileNamePatterns); } - protected void assertCodeBlocks(@NotNull String fileName, - @NotNull String fileBody, - @NotNull String mockFoldingRangesJson) { + protected void assertCodeBlock(@NotNull String fileName, + @NotNull String fileBody, + @NotNull String mockFoldingRangesJson) { MockLanguageServer.INSTANCE.setTimeToProceedQueries(100); List mockFoldingRanges = JSONUtils.getLsp4jGson().fromJson(mockFoldingRangesJson, new TypeToken>() { }.getType());