Skip to content

Commit 38baa96

Browse files
Fix handling of --report-useless-tests, --strict-coverage, --disallow-test-output, and --enforce-time-limit options
1 parent 9d3c9a0 commit 38baa96

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: src/TextUI/Command.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -498,22 +498,22 @@ protected function handleArguments(array $argv)
498498
}
499499
break;
500500

501-
case 'report-useless-tests': {
501+
case '--report-useless-tests': {
502502
$this->arguments['reportUselessTests'] = true;
503503
}
504504
break;
505505

506-
case 'strict-coverage': {
506+
case '--strict-coverage': {
507507
$this->arguments['strictCoverage'] = true;
508508
}
509509
break;
510510

511-
case 'disallow-test-output': {
511+
case '--disallow-test-output': {
512512
$this->arguments['disallowTestOutput'] = true;
513513
}
514514
break;
515515

516-
case 'enforce-time-limit': {
516+
case '--enforce-time-limit': {
517517
$this->arguments['enforceTimeLimit'] = true;
518518
}
519519
break;

0 commit comments

Comments
 (0)