Skip to content

Commit 645019e

Browse files
committed
SI-7704 Fix partest's test category selection (again)
Looks like multiple, different fixes for this issue managed to break it again.
1 parent 0a0c8ae commit 645019e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/partest/scala/tools/partest/nest/ConsoleRunner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class ConsoleRunner(argstr: String) extends {
133133
val rerunTests = if (isRerun) TestKinds.failedTests else Nil
134134
def miscTests = partestTests ++ individualTests ++ greppedTests ++ rerunTests
135135

136-
val givenKinds = standardKinds filter (parsed isSet "--" + _)
136+
val givenKinds = standardKinds filter parsed.isSet
137137
val kinds = (
138138
if (optAll) standardKinds
139139
else if (givenKinds.nonEmpty) givenKinds

0 commit comments

Comments
 (0)