summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/partest/scala/tools/partest/PartestTask.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/PartestTask.scala b/src/partest/scala/tools/partest/PartestTask.scala
index 73099f7cb1..56e52f96d4 100644
--- a/src/partest/scala/tools/partest/PartestTask.scala
+++ b/src/partest/scala/tools/partest/PartestTask.scala
@@ -172,7 +172,7 @@ class PartestTask extends Task {
(classpath.get.list map { fs => new File(fs) }) find { f =>
f.getName match {
case "scala-library.jar" => true
- case "classes" if (f.getParentFile.getName == "library") => true
+ case "library" if (f.getParentFile.getName == "classes") => true
case _ => false
}
}