summaryrefslogtreecommitdiff
path: root/project/PartestUtil.scala
diff options
context:
space:
mode:
Diffstat (limited to 'project/PartestUtil.scala')
-rw-r--r--project/PartestUtil.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/PartestUtil.scala b/project/PartestUtil.scala
index 7343c1857f..ab7e62b3b4 100644
--- a/project/PartestUtil.scala
+++ b/project/PartestUtil.scala
@@ -64,9 +64,9 @@ object PartestUtil {
}
val matchingFileName = try {
val filter = GlobFilter("*" + x + "*")
- testFiles.allTestCases.filter(x => filter.accept(x._1.name))
+ testFiles.allTestCases.filter(x => filter.accept(x._1.asFile.getPath))
} catch {
- case t: Throwable => Nil
+ case _: Throwable => Nil
}
(matchingFileContent ++ matchingFileName).map(_._2).distinct.sorted
}