diff options
-rw-r--r-- | project/PartestUtil.scala | 4 |
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 } |