Skip to content

Commit ed8defe

Browse files
cheesengbvenners
authored andcommitted
Removed duplicated parsing code for -C in ArgsParser.
1 parent 48b401f commit ed8defe

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

scalatest/src/main/scala/org/scalatest/tools/ArgsParser.scala

-5
Original file line numberDiff line numberDiff line change
@@ -724,11 +724,6 @@ private[tools] object ArgsParser {
724724
}
725725
else
726726
throw new IllegalArgumentException("-K needs to be followed by a host name and port number" )
727-
case "-C" =>
728-
if (it.hasNext)
729-
it.next // scroll past the reporter class
730-
else
731-
throw new IllegalArgumentException("-C needs to be followed by a reporter class name arg: ")
732727
case arg: String =>
733728
throw new IllegalArgumentException("An arg started with an invalid character string: " + arg)
734729
}

0 commit comments

Comments
 (0)