From 32c7515d6507e1898562203ea7c9d13a53d933c1 Mon Sep 17 00:00:00 2001 From: Guillaume Grossetie Date: Mon, 30 Apr 2018 22:48:35 +0200 Subject: Resolves #305, use an English locale when excuting java command line (#306) Otherwise we cannot rely on the exception message because the error returned by the java command line will be localized. --- main/test/src/mill/eval/JavaCompileJarTests.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/test/src/mill/eval/JavaCompileJarTests.scala b/main/test/src/mill/eval/JavaCompileJarTests.scala index 2e73b339..37e4c119 100644 --- a/main/test/src/mill/eval/JavaCompileJarTests.scala +++ b/main/test/src/mill/eval/JavaCompileJarTests.scala @@ -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) } } -- cgit v1.2.3