Skip to content

Commit

Permalink
Fix failing tests on Windows for relative path outside working directory
Browse files Browse the repository at this point in the history
Closes #2002
  • Loading branch information
paul-dingemans committed May 9, 2023
1 parent c2c2f58 commit dc8d1a2
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,9 @@ internal class FileUtilsTest {
)
}

@DisabledOnOs(OS.WINDOWS)
@Test
fun `Issue 2002 - Find files in a sibling directory based on a relative path to the working directory`() {
fun `Issue 2002 - On non-Windows OS, find files in a sibling directory based on a relative path to the working directory`() {
val foundFiles =
getFiles(
patterns = listOf("../project1"),
Expand All @@ -438,8 +439,9 @@ internal class FileUtilsTest {
)
}

@DisabledOnOs(OS.WINDOWS)
@Test
fun `Issue 2002 - Find files in a sibling directory based on a relative glob`() {
fun `Issue 2002 - On non-Windows OS, find files in a sibling directory based on a relative glob`() {
val foundFiles =
getFiles(
patterns = listOf("../project1/**/*.kt"),
Expand Down

0 comments on commit dc8d1a2

Please sign in to comment.