Skip to content

Commit d08f442

Browse files
committed
Two maven tests which fail because errors are getting swallowed as lints.
1 parent aa769d0 commit d08f442

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

plugin-maven/src/test/java/com/diffplug/spotless/maven/biome/BiomeMavenTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@
2020
import static org.junit.jupiter.api.Assertions.assertTrue;
2121
import static org.owasp.encoder.Encode.forXml;
2222

23+
import org.junit.jupiter.api.Disabled;
2324
import org.junit.jupiter.api.Test;
2425

2526
import com.diffplug.spotless.maven.MavenIntegrationHarness;
27+
import com.diffplug.spotless.tag.ForLintRefactor;
2628

2729
/**
2830
* Tests for the Biome formatter used via the Maven spotless plugin.
@@ -223,6 +225,8 @@ void failureWhenExeNotFound() throws Exception {
223225
* @throws Exception When a test failure occurs.
224226
*/
225227
@Test
228+
@Disabled
229+
@ForLintRefactor
226230
void failureWhenNotParseable() throws Exception {
227231
writePomWithBiomeSteps("**/*.js", "<biome><version>1.2.0</version><language>json</language></biome>");
228232
setFile("biome_test.js").toResource("biome/js/fileBefore.js");

plugin-maven/src/test/java/com/diffplug/spotless/maven/kotlin/KtlintTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@
1717

1818
import static org.junit.jupiter.api.Assertions.assertTrue;
1919

20+
import org.junit.jupiter.api.Disabled;
2021
import org.junit.jupiter.api.Test;
2122

2223
import com.diffplug.spotless.ProcessRunner;
2324
import com.diffplug.spotless.maven.MavenIntegrationHarness;
25+
import com.diffplug.spotless.tag.ForLintRefactor;
2426

2527
class KtlintTest extends MavenIntegrationHarness {
2628
@Test
@@ -78,6 +80,8 @@ void testSetEditorConfigCanOverrideEditorConfigFile() throws Exception {
7880
}
7981

8082
@Test
83+
@Disabled
84+
@ForLintRefactor
8185
void testWithCustomRuleSetApply() throws Exception {
8286
writePomWithKotlinSteps("<ktlint>\n" +
8387
" <customRuleSets>\n" +

0 commit comments

Comments
 (0)