From 02ebf026df6e08e9de8bef6dfec03d14ea46dfa1 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sat, 27 Jan 2018 23:49:51 -0800 Subject: Make `idea` task work with releaseAssembly and publishLocal --- core/test/src/mill/eval/JavaCompileJarTests.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/test') diff --git a/core/test/src/mill/eval/JavaCompileJarTests.scala b/core/test/src/mill/eval/JavaCompileJarTests.scala index 961c4b1f..36bbe5cd 100644 --- a/core/test/src/mill/eval/JavaCompileJarTests.scala +++ b/core/test/src/mill/eval/JavaCompileJarTests.scala @@ -123,7 +123,7 @@ object JavaCompileJarTests extends TestSuite{ check(targets = Agg(allSources), expected = Agg(allSources)) check(targets = Agg(jar), expected = Agg(classFiles, jar)) - val jarContents = %%('jar, "-tf", workspacePath/'jar/'dest)(workspacePath).out.string + val jarContents = %%('jar, "-tf", workspacePath/'jar/'dest/"out.jar")(workspacePath).out.string val expectedJarContents = """META-INF/MANIFEST.MF |hello.txt @@ -135,7 +135,7 @@ object JavaCompileJarTests extends TestSuite{ |""".stripMargin assert(jarContents == expectedJarContents) - val executed = %%('java, "-cp", workspacePath/'jar/'dest, "test.Foo")(workspacePath).out.string + val executed = %%('java, "-cp", workspacePath/'jar/'dest/"out.jar", "test.Foo")(workspacePath).out.string assert(executed == (31337 + 271828) + "\n") for(i <- 0 until 3){ -- cgit v1.2.3