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

Unified Diff: tests/standalone/src/ProcessExitNegativeTest.dart

Issue 9024008: Change the process API to be completely asynchronous. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Presubmit fixes Created 9 years 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/src/ProcessExitNegativeTest.dart
diff --git a/tests/standalone/src/ProcessExitNegativeTest.dart b/tests/standalone/src/ProcessExitNegativeTest.dart
index 2209f82832447717dd56d8fdaf64d00846922189..f07c0747b4efc686973f6b7531320be935e93212 100644
--- a/tests/standalone/src/ProcessExitNegativeTest.dart
+++ b/tests/standalone/src/ProcessExitNegativeTest.dart
@@ -6,10 +6,9 @@
// exit handler is reported correctly.
void main() {
- Process p = new Process("true", []);
+ Process p = new Process.start("true", []);
p.exitHandler = (int s) {
print(a.toString()); // Should cause a compilation error here.
p.close();
};
- p.start();
}

Powered by Google App Engine
This is Rietveld 408576698