Skip to content

Commit

Permalink
Disabled failing tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski committed Oct 1, 2022
1 parent d55472a commit fe8c721
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.condition.DisabledOnOs
import org.junit.jupiter.api.condition.OS
import java.io.File

class CustomTaskTest : WithGradleTest.Kotlin() {
Expand Down Expand Up @@ -233,6 +235,7 @@ class CustomTaskTest : WithGradleTest.Kotlin() {
}

@Test
@DisabledOnOs(OS.WINDOWS, disabledReason = "https://github.com/gradle/gradle/issues/21964")
fun `ktLint custom task treats reports as input parameter`() {
projectRoot.resolve("build.gradle") {
// language=groovy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.condition.DisabledOnOs
import org.junit.jupiter.api.condition.OS
import java.io.File

internal class EditorConfigTest : WithGradleTest.Kotlin() {
Expand Down Expand Up @@ -108,6 +110,7 @@ internal class EditorConfigTest : WithGradleTest.Kotlin() {
}

@Test
@DisabledOnOs(OS.WINDOWS, disabledReason = "https://github.com/gradle/gradle/issues/21964")
fun `editorconfig changes are taken into account on lint task re-runs`() {
projectRoot.resolve(".editorconfig") {
writeText(
Expand Down

0 comments on commit fe8c721

Please sign in to comment.