Chromium Code Reviews

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

Issue 10392023: Change dart:io to use Future for one-shot operations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Minor cleanup Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: tests/standalone/io/process_check_arguments_test.dart
diff --git a/tests/standalone/io/process_check_arguments_test.dart b/tests/standalone/io/process_check_arguments_test.dart
index a5ce40c86363f772942e60b1bb50a69d97cd7c4a..17703b544bee3688f84cfad54dd8a996b917904b 100644
--- a/tests/standalone/io/process_check_arguments_test.dart
+++ b/tests/standalone/io/process_check_arguments_test.dart
@@ -6,7 +6,7 @@
#source("process_test_util.dart");
test(args) {
- Process process = new Process.start(new Options().executable, args);
+ InteractiveProcess process = Process.start(new Options().executable, args);
// Wait for the process to exit and then check result.
process.onExit = (exitCode) {
Expect.equals(0, exitCode);

Powered by Google App Engine