Skip to content

Commit

Permalink
[Issue #48] fix ITs running on windows machines (\ instead of / as fi…
Browse files Browse the repository at this point in the history
…le separator)
  • Loading branch information
stefanseifert committed Jun 2, 2020
1 parent 96870ff commit b8f2c97
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/it/rootlocation-in-submodule/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ assert file.exists()

String text = file.getText("utf-8")

assert text.matches('(?ms)(.*?)define property rootlocation = "(.*)/rootlocation-in-submodule"(.*?)')
assert text.matches('(?ms)(.*?)define property rootlocation = "(.*)[/\\\\]rootlocation-in-submodule"(.*?)')

return true
2 changes: 1 addition & 1 deletion src/it/rootlocation-run-only-at-exec-root/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ assert file.exists()

String text = file.getText("utf-8")

assert text.matches('(?ms)(.*?)define property rootlocation = "(.*)/rootlocation-run-only-at-exec-root"(.*?)')
assert text.matches('(?ms)(.*?)define property rootlocation = "(.*)[/\\\\]rootlocation-run-only-at-exec-root"(.*?)')
assert text.contains("Skip getting the rootlocation in this project because it's not the Execution Root")

return true
2 changes: 1 addition & 1 deletion src/it/rootlocation/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ assert file.exists()

String text = file.getText("utf-8")

assert text.matches('(?ms)(.*?)define property rootlocation = "(.*)/rootlocation"(.*?)')
assert text.matches('(?ms)(.*?)define property rootlocation = "(.*)[/\\\\]rootlocation"(.*?)')

return true

0 comments on commit b8f2c97

Please sign in to comment.