diff --git a/analyzer-golangcilint/src/test/java/io/codety/scanner/analyzer/golangcilint/GolangcilintCodeAnalyzerTest.java b/analyzer-golangcilint/src/test/java/io/codety/scanner/analyzer/golangcilint/GolangcilintCodeAnalyzerTest.java index 54177fa..dfa53ef 100644 --- a/analyzer-golangcilint/src/test/java/io/codety/scanner/analyzer/golangcilint/GolangcilintCodeAnalyzerTest.java +++ b/analyzer-golangcilint/src/test/java/io/codety/scanner/analyzer/golangcilint/GolangcilintCodeAnalyzerTest.java @@ -26,6 +26,7 @@ void testAnalyze(){ List codeAnalysisResultDtos = golangcilintCodeAnalyzer.analyzeCode(new AnalyzerConfigurationDetailDto(LanguageType.go, CodeAnalyzerType.golangcilint), analyzerRequest); Assertions.assertTrue(codeAnalysisResultDtos != null); + Assertions.assertTrue(codeAnalysisResultDtos.size() > 0); } }