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

Unified Diff: tests/standalone/io/process_exit_negative_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
« no previous file with comments | « tests/standalone/io/process_environment_test.dart ('k') | tests/standalone/io/process_exit_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/process_exit_negative_test.dart
diff --git a/tests/standalone/io/process_exit_negative_test.dart b/tests/standalone/io/process_exit_negative_test.dart
index 6e739780d0bd2156119e569b45f25bb8ce109476..0e5e445c84a60e78020e05e596a3cbad54d5234c 100644
--- a/tests/standalone/io/process_exit_negative_test.dart
+++ b/tests/standalone/io/process_exit_negative_test.dart
@@ -9,8 +9,8 @@
#source("process_test_util.dart");
void main() {
- Process p = new Process.start(getProcessTestFileName(),
- const ["0", "0", "0", "0"]);
+ Process p = Process.start(getProcessTestFileName(),
+ const ["0", "0", "0", "0"]);
p.onExit = (int s) {
print(a.toString()); // Should cause a compilation error here.
p.close();
« no previous file with comments | « tests/standalone/io/process_environment_test.dart ('k') | tests/standalone/io/process_exit_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698