Index: sdk/lib/_internal/pub/test/transformer/dart2js/does_not_compile_until_its_output_is_requested_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_compile_until_its_output_is_requested_test.dart b/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_compile_until_its_output_is_requested_test.dart |
index e71c925b9ea1c7cf6004166499bed85bb9bd4cc1..6ef80b8697fe909f8cf92771821b47d35ac0c873 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_compile_until_its_output_is_requested_test.dart |
+++ b/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_compile_until_its_output_is_requested_test.dart |
@@ -26,13 +26,11 @@ main() { |
createLockFile('myapp', pkg: ['barback']); |
var server = pubServe(); |
- expect(server.nextLine(), |
- completion(equals("Build completed successfully"))); |
+ server.stdout.expect("Build completed successfully"); |
// Once we request the output, it should start compiling and fail. |
requestShould404("syntax-error.dart.js"); |
- expect(server.nextLine(), |
- completion(equals("Build completed with 1 errors."))); |
+ server.stdout.expect("Build completed with 1 errors."); |
endPubServe(); |
}); |
} |