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

Unified Diff: sdk/lib/_internal/pub/test/transformer/dart2js/does_not_compile_until_its_output_is_requested_test.dart

Issue 196063004: Move dart2js entrypoint detection into isPrimary. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: use dart2js error messages Created 6 years, 9 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: 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 ba124f4dc32aef4b77484702be9eba39b9ed39fb..28e9acf14c4278fef0b647ce82db9f7eccf07fc3 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
@@ -4,6 +4,8 @@
library pub_tests;
+import 'package:scheduled_test/scheduled_stream.dart';
+
import '../../descriptor.dart' as d;
import '../../test_pub.dart';
import '../../serve/utils.dart';
@@ -30,8 +32,8 @@ main() {
requestShould404("syntax-error.dart.js");
server.stdout.expect(emitsLines(
"[Info from Dart2JS]:\n"
- "Compiling myapp|web/syntax-error.dart...\n"
- "Build completed with 1 errors."));
+ "Compiling myapp|web/syntax-error.dart..."));
+ server.stdout.expect(consumeThrough("Build completed with 1 errors."));
endPubServe();
});
}

Powered by Google App Engine
This is Rietveld 408576698