| Index: tests/compiler/dart2js/unparser_test.dart
|
| diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
|
| index 79ce4908dd8d9fa0f7233a6a9574a9edf339f143..f08109791950eb643533c3eeb83319a46e430531 100644
|
| --- a/tests/compiler/dart2js/unparser_test.dart
|
| +++ b/tests/compiler/dart2js/unparser_test.dart
|
| @@ -75,6 +75,19 @@ testDart2DartWithLibrary(
|
| const ['--output-type=dart', '--unparse-validation']).then(continuation);
|
| }
|
|
|
| +testSignedConstants() {
|
| + testUnparse('var x=+42;');
|
| + testUnparse('var x=+.42;');
|
| + testUnparse('var x=-42;');
|
| + testUnparse('var x=-.42;');
|
| + testUnparse('var x=+0;');
|
| + testUnparse('var x=+0.0;');
|
| + testUnparse('var x=+.0;');
|
| + testUnparse('var x=-0;');
|
| + testUnparse('var x=-0.0;');
|
| + testUnparse('var x=-.0;');
|
| +}
|
| +
|
| testGenericTypes() {
|
| testUnparse('var x=new List<List<int>>();');
|
| testUnparse('var x=new List<List<List<int>>>();');
|
| @@ -374,6 +387,7 @@ main() {
|
| }
|
|
|
| main() {
|
| + testSignedConstants();
|
| testGenericTypes();
|
| testForLoop();
|
| testEmptyList();
|
|
|