Index: sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_command_line_options_type_test.dart |
diff --git a/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_command_line_options_type_test.dart b/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_command_line_options_type_test.dart |
index 66ee7037e020f49948036b41b1ebfb6ea82fb82a..e70ed28b4827eb01479f2418bf16a49acbd6b944 100644 |
--- a/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_command_line_options_type_test.dart |
+++ b/sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_command_line_options_type_test.dart |
@@ -34,11 +34,11 @@ main() { |
var server = pubServe(); |
// Make a request first to trigger compilation. |
requestShould404("main.dart.js"); |
- expect(server.nextErrLine(), completion(equals('Build error:'))); |
- expect(server.nextErrLine(), completion(equals( |
+ server.stderr.expect(emitsString( |
+ 'Build error:\n' |
Bob Nystrom
2014/02/14 17:55:02
Why use emitsString here (and in the later changes
nweiz
2014/02/18 22:01:10
Same reason as before: for consistency with longer
|
'Transform Dart2JS on myapp|web/main.dart threw error: ' |
'FormatException: Invalid value for \$dart2js.commandLineOptions: ' |
- '"foo" (expected list of strings).'))); |
+ '"foo" (expected list of strings).')); |
endPubServe(); |
}); |
} |