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

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

Issue 17406010: Move getters from Options to Platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed Dart_GetType Created 7 years, 6 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
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 4e933b9f9fae9f534ede17902e3c462304e497a9..183beafca8ac87b5e8b1ba9f33d5a481f3a3c664 100644
--- a/tests/standalone/io/process_check_arguments_script.dart
+++ b/tests/standalone/io/process_check_arguments_script.dart
@@ -23,7 +23,8 @@ class Expect {
main() {
var options = new Options();
- Expect.isTrue(options.script.endsWith('process_check_arguments_script.dart'));
+ Expect.isTrue(Platform.script.endsWith(
+ 'process_check_arguments_script.dart'));
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);
« no previous file with comments | « tests/standalone/io/process_broken_pipe_test.dart ('k') | tests/standalone/io/process_check_arguments_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698