Fix test-quick/only/failed tab completion being fixed after first completion

This commit is contained in:
Mark Harrah 2010-03-28 22:16:53 -04:00
parent c05bf93830
commit 3076ca3e4b
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ trait ScalaProject extends SimpleScalaProject with FileTasks with MultiTaskProje
private def flatten[T](i: Iterable[Iterable[T]]) = i.flatMap(x => x)
protected def testQuickMethod(testAnalysis: CompileAnalysis, options: => Seq[TestOption])(toRun: (Seq[TestOption]) => Task) = {
val analysis = Set() ++ testAnalysis.allTests.map(_.className)
def analysis = Set() ++ testAnalysis.allTests.map(_.className)
multiTask(analysis.toList) { (args, includeFunction) =>
toRun(TestArgument(args:_*) :: TestFilter(includeFunction) :: options.toList)
}