|
1 | 1 | /******************************************************************************* |
2 | | -* Copyright (c) 2019 Red Hat Inc. and others. |
| 2 | +* Copyright (c) 2019, 2022 Red Hat Inc. and others. |
3 | 3 | * |
4 | 4 | * This program and the accompanying materials are made |
5 | 5 | * available under the terms of the Eclipse Public License 2.0 |
|
15 | 15 | import static org.junit.jupiter.api.Assertions.assertEquals; |
16 | 16 | import static org.junit.jupiter.api.Assertions.assertTrue; |
17 | 17 |
|
18 | | -import java.io.File; |
19 | 18 | import java.io.BufferedReader; |
20 | | -import java.io.InputStreamReader; |
| 19 | +import java.io.File; |
21 | 20 | import java.io.InputStream; |
| 21 | +import java.io.InputStreamReader; |
22 | 22 | import java.nio.file.Files; |
23 | | -import java.util.Arrays; |
24 | 23 | import java.util.stream.Collectors; |
25 | 24 |
|
26 | 25 | import org.eclipse.core.resources.IFile; |
|
41 | 40 | import org.junit.jupiter.api.extension.ExtendWith; |
42 | 41 |
|
43 | 42 | @ExtendWith(AllCleanRule.class) |
44 | | -public class TestESLint { |
| 43 | +class TestESLint { |
45 | 44 |
|
46 | 45 | private IProject project; |
47 | 46 |
|
@@ -87,7 +86,7 @@ public void setUpProject() throws Exception { |
87 | 86 | } |
88 | 87 |
|
89 | 88 | @Test |
90 | | - public void testESLintDiagnostics() throws Exception { |
| 89 | + void testESLintDiagnostics() throws Exception { |
91 | 90 | IFile file = project.getFile("ESLintProj.js"); |
92 | 91 | IDE.openEditor(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(), file); |
93 | 92 | assertESLintIndentMarkerExists(file); |
|
0 commit comments