From dc9b21e67bc8f926a6a3f81cb45d70743cabe809 Mon Sep 17 00:00:00 2001 From: Jim Lawson Date: Tue, 9 Oct 2018 12:54:00 -0700 Subject: Evaluate filterJar() task. --- main/test/src/mill/eval/JavaCompileJarTests.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/test/src/mill/eval/JavaCompileJarTests.scala b/main/test/src/mill/eval/JavaCompileJarTests.scala index e6d1c10a..d4bdbd87 100644 --- a/main/test/src/mill/eval/JavaCompileJarTests.scala +++ b/main/test/src/mill/eval/JavaCompileJarTests.scala @@ -121,7 +121,7 @@ object JavaCompileJarTests extends TestSuite{ // Create the Jar again, but this time, filter out the Foo files. def noFoos(s: String) = !s.contains("Foo") val filterFunc = (p: Path, r: RelPath) => noFoos(r.last) - filterJar(filterFunc) + eval(filterJar(filterFunc)) val filteredJarContents = %%('jar, "-tf", evaluator.outPath/'filterJar/'dest/"out.jar")(evaluator.outPath).out.string assert(filteredJarContents.lines.toSeq == expectedJarContents.lines.filter(noFoos(_)).toSeq) -- cgit v1.2.3