Index: tools/testing/dart/test_runner.dart |
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart |
index 66d62a719c7175d11f77e11246d350b734398a61..53f20443ef362cd69c94daaec792a6b9bc3a9e8b 100644 |
--- a/tools/testing/dart/test_runner.dart |
+++ b/tools/testing/dart/test_runner.dart |
@@ -394,8 +394,7 @@ class BrowserTestCase extends TestCase { |
List<String> get batchRunnerArguments => [_lastArguments[0], '--batch']; |
- List<String> get batchTestArguments => |
- _lastArguments.getRange(1, _lastArguments.length - 1); |
+ List<String> get batchTestArguments => _lastArguments.sublist(1); |
/** Add a test case to listen for when this current test has completed. */ |
void addObserver(BrowserTestCase testCase) { |