Skip to content

Commit

Permalink
Resolves com-lihaoyi#305, use an English locale when excuting java co…
Browse files Browse the repository at this point in the history
…mmand line

Otherwise we cannot rely on the exception message because the error returned by the java command line will be localized.
  • Loading branch information
ggrossetie committed Apr 30, 2018
1 parent 107994f commit 15553c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/test/src/mill/eval/JavaCompileJarTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ object JavaCompileJarTests extends TestSuite{
def jar = T{ Jvm.createJar(Loose.Agg(classFiles().path) ++ resourceRoot().map(_.path)) }

def run(mainClsName: String) = T.command{
%%('java, "-cp", classFiles().path, mainClsName)
%%('java, "-Duser.language=en", "-cp", classFiles().path, mainClsName)
}
}

Expand Down

0 comments on commit 15553c0

Please sign in to comment.