From 645019ed261ba94aa1e7f9ce2002f0e01044484d Mon Sep 17 00:00:00 2001 From: Simon Ochsenreither Date: Fri, 16 Aug 2013 22:05:49 +0200 Subject: SI-7704 Fix partest's test category selection (again) Looks like multiple, different fixes for this issue managed to break it again. --- src/partest/scala/tools/partest/nest/ConsoleRunner.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/partest/scala/tools/partest/nest/ConsoleRunner.scala b/src/partest/scala/tools/partest/nest/ConsoleRunner.scala index 17c0b74cb7..8189446162 100644 --- a/src/partest/scala/tools/partest/nest/ConsoleRunner.scala +++ b/src/partest/scala/tools/partest/nest/ConsoleRunner.scala @@ -133,7 +133,7 @@ class ConsoleRunner(argstr: String) extends { val rerunTests = if (isRerun) TestKinds.failedTests else Nil def miscTests = partestTests ++ individualTests ++ greppedTests ++ rerunTests - val givenKinds = standardKinds filter (parsed isSet "--" + _) + val givenKinds = standardKinds filter parsed.isSet val kinds = ( if (optAll) standardKinds else if (givenKinds.nonEmpty) givenKinds -- cgit v1.2.3