Skip to content

Commit

Permalink
Make GenIdea tests work on Mac OSX (com-lihaoyi#3444)
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Sep 2, 2024
1 parent 54cac6c commit 11d32c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration/ide/gen-idea/test/src/GenIdeaUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ object GenIdeaUtils {
"""\""",
"/"
)

in.replace(path, "COURSIER_HOME")
.replace("//$USER_HOME$/AppData/Local/Coursier/cache/", "//$USER_HOME$/COURSIER_CACHE/")
.replace("//$USER_HOME$/.cache/coursier/", "//$USER_HOME$/COURSIER_CACHE/")
.replace("//$USER_HOME$/Library/Caches/Coursier/", "//$USER_HOME$/COURSIER_CACHE/")
}

val ignoreString = "<!-- IGNORE -->"
Expand Down

0 comments on commit 11d32c2

Please sign in to comment.