Index: tests/standalone/io/process_check_arguments_script.dart |
diff --git a/tests/standalone/io/process_check_arguments_script.dart b/tests/standalone/io/process_check_arguments_script.dart |
index ee3b4ea4562980e2f499b66b22a398d91caf7718..1898356605a16af3cb90c8051136c0a18f509762 100644 |
--- a/tests/standalone/io/process_check_arguments_script.dart |
+++ b/tests/standalone/io/process_check_arguments_script.dart |
@@ -4,12 +4,13 @@ |
// |
// Utility script to check that arguments are correctly passed from |
// one dart process to another using the dart:io process interface. |
+#import('dart:math'); |
main() { |
var options = new Options(); |
Expect.isTrue(options.script.endsWith('process_check_arguments_script.dart')); |
- var expected_num_args = Math.parseInt(options.arguments[0]); |
- var contains_quote = Math.parseInt(options.arguments[1]); |
+ var expected_num_args = parseInt(options.arguments[0]); |
+ var contains_quote = parseInt(options.arguments[1]); |
Expect.equals(expected_num_args, options.arguments.length); |
for (var i = 2; i < options.arguments.length; i++) { |
Expect.isTrue((contains_quote == 0) || options.arguments[i].contains('"')); |