Skip to content

Commit

Permalink
Update ScalastyleCodeAnalyzerTest.java (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandyyeah100 authored Sep 8, 2024
1 parent 980266b commit 8483ba7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class ScalastyleCodeAnalyzerTest {

@Test
void testAnalyze(){
String s = "../code-issue-examples";

String absolutePath = Path.of("../","code-issue-examples").toAbsolutePath().toFile().getAbsolutePath();
AnalyzerRequest analyzerRequest = AnalyzerRequest.processSystemVariablesToRequest(new HashMap<>(), new String[]{absolutePath});
List<CodeAnalysisResultDto> codeAnalysisResultDtos = scalastyleCodeAnalyzer.analyzeCode(analyzerRequest);
Expand Down

0 comments on commit 8483ba7

Please sign in to comment.