Index: utils/tests/string_encoding/benchmark_runner.dart |
diff --git a/utils/tests/string_encoding/benchmark_runner.dart b/utils/tests/string_encoding/benchmark_runner.dart |
index f29c4f994d16ea86d07a45583c2d5df6af2965d7..0f5495607a9c7c3a138425acf76597461134a625 100644 |
--- a/utils/tests/string_encoding/benchmark_runner.dart |
+++ b/utils/tests/string_encoding/benchmark_runner.dart |
@@ -196,10 +196,11 @@ class TestReport { |
} |
class Runner { |
+ static List<String> arguments; // Set by main. |
+ |
static bool runTest(String testId) { |
- Options opts = new Options(); |
- return opts.arguments.length == 0 || |
- opts.arguments.any((String id) => id == testId); |
+ return arguments.length == 0 || |
+ arguments.any((String id) => id == testId); |
} |
} |