Index: tests/standalone/src/ProcessSegfaultTest.dart |
diff --git a/tests/standalone/src/ProcessSegfaultTest.dart b/tests/standalone/src/ProcessSegfaultTest.dart |
index cb38eba8040d1fc625792d99b4f0330b77b467c2..5d27eb382e07ba73e3b26c4ad03ac5982fe5557b 100644 |
--- a/tests/standalone/src/ProcessSegfaultTest.dart |
+++ b/tests/standalone/src/ProcessSegfaultTest.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 ProcessSegfaultTest { |
Process process = new Process.start(getProcessTestFileName(), |
const ["0", "0", "1", "1"]); |
- process.exitHandler = (int exitCode) { |
+ process.onExit = (int exitCode) { |
process.close(); |
}; |
} |