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

Unified Diff: tests/standalone/io/process_stdout_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: Adding stable test binaries Created 8 years, 7 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_stdout_test.dart
diff --git a/tests/standalone/io/process_stdout_test.dart b/tests/standalone/io/process_stdout_test.dart
index cb6b0a1e19d37e0d286157f6b86f9db9045b76cb..a5ca0d3bc6c2d1ff0872d64f90ecadebff38e155 100644
--- a/tests/standalone/io/process_stdout_test.dart
+++ b/tests/standalone/io/process_stdout_test.dart
@@ -57,8 +57,8 @@ void test(Process process, int expectedExitCode) {
main() {
// Run the test using the process_test binary.
- test(new Process.start(getProcessTestFileName(),
- const ["0", "1", "99", "0"]), 99);
+ test(Process.start(getProcessTestFileName(),
+ const ["0", "1", "99", "0"]), 99);
// Run the test using the dart binary with an echo script.
// The test runner can be run from either the root or from runtime.
@@ -67,5 +67,5 @@ main() {
scriptFile = new File("../tests/standalone/io/process_std_io_script.dart");
}
Expect.isTrue(scriptFile.existsSync());
- test(new Process.start(new Options().executable, [scriptFile.name, "0"]), 0);
+ test(Process.start(new Options().executable, [scriptFile.name, "0"]), 0);
}
« no previous file with comments | « tests/standalone/io/process_stderr_test.dart ('k') | tests/standalone/io/process_working_directory_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698