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 8a70edaf1f3fe0c2bf16f69a1ee03ad31caee8b5..6e9c086efc3426c0fcf8ce0cdf25d61f24d30769 100644 |
--- a/tests/standalone/io/process_check_arguments_script.dart |
+++ b/tests/standalone/io/process_check_arguments_script.dart |
@@ -9,8 +9,8 @@ import "dart:math"; |
main() { |
var options = new Options(); |
Expect.isTrue(options.script.endsWith('process_check_arguments_script.dart')); |
- var expected_num_args = parseInt(options.arguments[0]); |
- var contains_quote = parseInt(options.arguments[1]); |
+ var expected_num_args = int.parse(options.arguments[0]); |
+ var contains_quote = int.parse(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('"')); |