| Index: test/transformer_test.dart
|
| diff --git a/test/transformer_test.dart b/test/transformer_test.dart
|
| index 12e32598bc594aa0cb9ac468cdad074d8f39e614..ba873f8b3135a9ce5fb2d586ef767528e8436308 100644
|
| --- a/test/transformer_test.dart
|
| +++ b/test/transformer_test.dart
|
| @@ -124,11 +124,22 @@ void dartEntryPointTests() {
|
| @DynamicInit(null)
|
| @DynamicInit(1)
|
| @DynamicInit(1.1)
|
| + @DynamicInit('foo-\$x\${y}')
|
| + @DynamicInit(1 + 2)
|
| + @DynamicInit(1.0 + 0.2)
|
| + @DynamicInit(1 == 1)
|
| @NamedArgInit(1, name: 'Bill')
|
| library web_foo;
|
|
|
| import 'package:test_initializers/common.dart';
|
| import 'foo.dart';
|
| +
|
| + const x = 'x';
|
| + const y = 'y';
|
| +
|
| + class MyConst {
|
| + const MyConst;
|
| + }
|
| ''',
|
| 'a|web/foo.dart': '''
|
| library foo;
|
| @@ -161,6 +172,10 @@ void dartEntryPointTests() {
|
| new InitEntry(const i1.DynamicInit(null), const LibraryIdentifier(#web_foo, null, 'index.dart')),
|
| new InitEntry(const i1.DynamicInit(1), const LibraryIdentifier(#web_foo, null, 'index.dart')),
|
| new InitEntry(const i1.DynamicInit(1.1), const LibraryIdentifier(#web_foo, null, 'index.dart')),
|
| + new InitEntry(const i1.DynamicInit('foo-xy'), const LibraryIdentifier(#web_foo, null, 'index.dart')),
|
| + new InitEntry(const i1.DynamicInit(3), const LibraryIdentifier(#web_foo, null, 'index.dart')),
|
| + new InitEntry(const i1.DynamicInit(1.2), const LibraryIdentifier(#web_foo, null, 'index.dart')),
|
| + new InitEntry(const i1.DynamicInit(true), const LibraryIdentifier(#web_foo, null, 'index.dart')),
|
| new InitEntry(const i1.NamedArgInit(1, name: 'Bill'), const LibraryIdentifier(#web_foo, null, 'index.dart')),
|
| ]);
|
|
|
|
|