summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/test/src/mill/eval/JavaCompileJarTests.scala2
1 files changed, 1 insertions, 1 deletions
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)