Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1116)

Unified Diff: tests/standalone/io/process_check_arguments_script.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/standalone/io/options_test.dart ('k') | tests/standalone/io/process_start_exception_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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('"'));
« no previous file with comments | « tests/standalone/io/options_test.dart ('k') | tests/standalone/io/process_start_exception_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698