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

Unified Diff: packages/initialize/test/transformer_test.dart

Issue 3015713002: Roll to pickup pool changes
Patch Set: Created 3 years, 3 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
« no previous file with comments | « packages/initialize/test/initializer_type_filter_test.dart ('k') | packages/initialize/tool/all_tests.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/initialize/test/transformer_test.dart
diff --git a/packages/initialize/test/transformer_test.dart b/packages/initialize/test/transformer_test.dart
index 8342c03b308b80e173bb86a077297fde5774a0ec..c8e017f925baf6b30a1bb86b556bc3638f88c594 100644
--- a/packages/initialize/test/transformer_test.dart
+++ b/packages/initialize/test/transformer_test.dart
@@ -19,14 +19,19 @@ main() {
}
void htmlEntryPointTests() {
- var phases = [[new InitializeTransformer(['web/*.html'])]];
+ var phases = [
+ [
+ new InitializeTransformer(['web/*.html'])
+ ]
+ ];
testPhases('basic', phases, {
'a|web/index.html': '''
<html><head></head><body>
<script type="application/dart" src="index.dart"></script>
</body></html>
- '''.replaceAll(' ', ''),
+ '''
+ .replaceAll(' ', ''),
'a|web/index.dart': '''
library web_foo;
@@ -77,7 +82,8 @@ void htmlEntryPointTests() {
<html><head></head><body>
<script type="application/dart" src="index.initialize.dart"></script>
- </body></html>'''.replaceAll(' ', ''),
+ </body></html>'''
+ .replaceAll(' ', ''),
'a|web/index.initialize.dart': formatter.format('''
import 'package:initialize/src/static_loader.dart';
import 'package:initialize/initialize.dart';
@@ -109,7 +115,11 @@ void htmlEntryPointTests() {
}
void dartEntryPointTests() {
- var phases = [[new InitializeTransformer(['web/index.dart'])]];
+ var phases = [
+ [
+ new InitializeTransformer(['web/index.dart'])
+ ]
+ ];
testPhases('constructor arguments', phases, {
'a|web/index.dart': '''
« no previous file with comments | « packages/initialize/test/initializer_type_filter_test.dart ('k') | packages/initialize/tool/all_tests.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698