Skip to content

Commit

Permalink
#292 make test compatible with windows and linux
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhauck committed Aug 5, 2024
1 parent 67e4cee commit 0481bc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ internal class KtfmtCheckTaskIntegrationTest {
appendToBuildGradle(
"""
|ktfmt{
| srcSetPathExclusionPattern.set(Regex(".*/main/.*"))
| srcSetPathExclusionPattern.set(Regex(".*[\\\\/]main[\\\\/].*"))
|}
"""
.trimMargin())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ internal class KtfmtFormatTaskIntegrationTest {
appendToBuildGradle(
"""
|ktfmt{
| srcSetPathExclusionPattern.set(Regex(".*/main/.*"))
| srcSetPathExclusionPattern.set(Regex(".*[\\\\/]main[\\\\/].*"))
|}
"""
.trimMargin())
Expand Down

0 comments on commit 0481bc9

Please sign in to comment.