diff --git a/lib/web_ui/dev/test_runner.dart b/lib/web_ui/dev/test_runner.dart index 4a19873a95d5e..7f8ed975ac3dd 100644 --- a/lib/web_ui/dev/test_runner.dart +++ b/lib/web_ui/dev/test_runner.dart @@ -22,11 +22,6 @@ import 'utils.dart'; class TestCommand extends Command { TestCommand() { argParser - ..addMultiOption( - 'target', - abbr: 't', - help: 'The path to the target to run. When omitted, runs all targets.', - ) ..addFlag( 'debug', help: 'Pauses the browser before running a test, giving you an ' @@ -75,7 +70,7 @@ class TestCommand extends Command { bool get isDebug => argResults['debug']; /// Paths to targets to run, e.g. a single test. - List get targets => argResults['target']; + List get targets => argResults.rest; /// See [ChromeInstallerCommand.chromeVersion]. String get chromeVersion => argResults['chrome-version'];