Chromium Code Reviews| Index: tests/standalone/io/windows_environment_test.dart |
| diff --git a/tests/standalone/io/windows_environment_test.dart b/tests/standalone/io/windows_environment_test.dart |
| index 4ccc380aaf824ab26346cf4f95245e1b87e10709..640b00bf66593db52855736e836b718b9f711a83 100644 |
| --- a/tests/standalone/io/windows_environment_test.dart |
| +++ b/tests/standalone/io/windows_environment_test.dart |
| @@ -2,7 +2,6 @@ |
| // 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. |
| -import "package:expect/expect.dart"; |
|
ngeoffray
2013/04/10 09:49:44
Why this change?
floitsch
2013/04/10 10:46:10
This test runs itself (I think) as a separate proc
|
| import "dart:io"; |
| main() { |
| @@ -22,7 +21,7 @@ set SCRIPTDIR=%~dp0 |
| var script = scriptDir.append('windows_environment_script.dart'); |
| Process.run('cmd', |
| ['/c', funkyFile.path, dart, script.toNativePath()]).then((p) { |
| - Expect.equals(0, p.exitCode); |
| + if (0 != p.exitCode) throw "Exit code not 0"; |
| tempDir.deleteSync(recursive: true); |
| }); |
| } |