Index: tools/testing/dart/test_suite.dart |
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart |
index 6381a12bb2d8e253e0b8085b3d622f889204636b..f5c07e8d596096ad700b70895bc5fca83add165d 100644 |
--- a/tools/testing/dart/test_suite.dart |
+++ b/tools/testing/dart/test_suite.dart |
@@ -1094,7 +1094,7 @@ class StandardTestSuite extends TestSuite { |
} |
if (executable.endsWith('.dart')) { |
// Run the compiler script via the Dart VM. |
- args.insertRange(0, 1, executable); |
+ args.insert(0, executable); |
executable = dartShellFileName; |
} |
if (['dart2js', 'dart2dart'].contains(configuration['compiler'])) { |