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

Unified Diff: tests/standalone/io/windows_environment_test.dart

Issue 13493011: Fix some tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
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);
});
}

Powered by Google App Engine
This is Rietveld 408576698