Index: tests/standalone/io/skipping_dart2js_compilations_test.dart |
diff --git a/tests/standalone/io/skipping_dart2js_compilations_test.dart b/tests/standalone/io/skipping_dart2js_compilations_test.dart |
index 79bd12f95ca9408b1bce682f27b6af710b6c9593..1b64cd96b7ffa2944225c9dfcfc5624cb6b29335 100644 |
--- a/tests/standalone/io/skipping_dart2js_compilations_test.dart |
+++ b/tests/standalone/io/skipping_dart2js_compilations_test.dart |
@@ -132,10 +132,10 @@ class CommandCompletedHandler { |
CommandCompletedHandler(FileUtils this.fileUtils, bool this._shouldHaveRun); |
void processCompletedTest(CommandOutput output) { |
- Expect.isTrue(output.exitCode == 0); |
- Expect.isTrue(output.stderr.length == 0); |
+ Expect.equals(0, output.exitCode); |
+ Expect.equals(0, output.stderr.length); |
if (_shouldHaveRun) { |
- Expect.isTrue(output.stdout.length == 0); |
+ Expect.equals(0, output.stdout.length); |
Expect.isTrue( |
new File(fileUtils.scriptOutputPath.toNativePath()).existsSync()); |
} else { |