Add spotless plugin #1791
+580
−7
Draft
Add spotless plugin #1791
GitHub Actions / JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2)
failed
Nov 13, 2023 in 0s
1 fail, 36 skipped, 1 358 pass in 7m 15s
Annotations
Check warning on line 0 in com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest
github-actions / JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2)
read rules config yml() (com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest) failed
diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.xml [took 0s]
Raw output
org.opentest4j.AssertionFailedError: Cannot find warning PREVIEW_ANNOTATION in diKTat/diktat-analysis.yml.
You can fix it by adding the following code below to diKTat/diktat-analysis.yml:
name: "PREVIEW_ANNOTATION"
enabled: true
configuration: {}
ignoreAnnotated: [] ==> expected: <true> but was: <false>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:42)
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:191)
at com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.compareRulesAndConfig(RulesConfigYamlTest.kt:93)
at com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.read rules config yml(RulesConfigYamlTest.kt:37)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at java.util.ArrayList.forEach(ArrayList.java:1259)
Loading