| Index: test/runner/browser/compiler_pool_test.dart
|
| diff --git a/test/runner/browser/compiler_pool_test.dart b/test/runner/browser/compiler_pool_test.dart
|
| index 6b05a3a15d22e01639d0acd39c171533fdf90b8b..e2f76a20ca6417969748f3de87babbdb518ccea0 100644
|
| --- a/test/runner/browser/compiler_pool_test.dart
|
| +++ b/test/runner/browser/compiler_pool_test.dart
|
| @@ -33,7 +33,7 @@ void main() {
|
| new File(testPath2).writeAsStringSync("int main() => 'foo';\n");
|
|
|
| var result = _runUnittest(["-p", "chrome", "test1.dart", "test2.dart"]);
|
| - expect(result.stdout, equals("""
|
| + expect(result.stdout, startsWith("""
|
| Compiling test1.dart...
|
| test1.dart:1:18:
|
| Warning: 'int' is not assignable to 'String'.
|
| @@ -45,7 +45,7 @@ Warning: 'String' is not assignable to 'int'.
|
| int main() => 'foo';
|
| ^^^^^
|
| """));
|
| - expect(result.exitCode, equals(exit_codes.data));
|
| + expect(result.exitCode, equals(1));
|
| });
|
|
|
| test("uses colors if the test runner uses colors", () {
|
| @@ -54,7 +54,7 @@ int main() => 'foo';
|
|
|
| var result = _runUnittest(["--color", "-p", "chrome", "test.dart"]);
|
| expect(result.stdout, contains('\u001b[35m'));
|
| - expect(result.exitCode, equals(exit_codes.data));
|
| + expect(result.exitCode, equals(1));
|
| });
|
| }
|
|
|
|
|