Index: tests/standalone/src/ProcessExitTest.dart |
diff --git a/tests/standalone/src/ProcessExitTest.dart b/tests/standalone/src/ProcessExitTest.dart |
index 7e56b7863c677d4af61272f0b747ed98daf0ef20..4078cd296e2a52fe95a3b743517e56d79320ef32 100644 |
--- a/tests/standalone/src/ProcessExitTest.dart |
+++ b/tests/standalone/src/ProcessExitTest.dart |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
// |
@@ -13,7 +13,7 @@ class ProcessExitTest { |
Process process = new Process.start(getProcessTestFileName(), |
const ["0", "0", "99", "0"]); |
- process.exitHandler = (int exitCode) { |
+ process.onExit = (int exitCode) { |
Expect.equals(exitCode, 99); |
process.close(); |
}; |