File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 11package build.scalalib
2+ import scala.util.Properties
23import scala.util.chaining._
34import coursier.maven.MavenRepository
45import mill._
@@ -29,7 +30,10 @@ object `package` extends RootModule with build.MillStableScalaModule {
2930 }
3031 def testIvyDeps = super.testIvyDeps() ++ Agg(build.Deps.TestDeps.scalaCheck)
3132 def testTransitiveDeps = super.testTransitiveDeps() ++ Seq(worker.testDep())
32- def testForkEnv = super.testForkEnv() ++ Map("LC_ALL" -> "C.utf8")
33+ def testForkEnv = {
34+ val locale = if (Properties.isMac) "en_US.UTF-8" else "C.utf8"
35+ super.testForkEnv() ++ Map("LC_ALL" -> locale)
36+ }
3337
3438 object backgroundwrapper extends build.MillPublishJavaModule with build.MillJavaModule {
3539 def ivyDeps = Agg(build.Deps.sbtTestInterface)
You can’t perform that action at this time.
0 commit comments