Chromium Code Reviews| 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..96cf8a76fac70257ae11e55819d44579df482a02 100644 |
| --- a/tests/compiler/dart2js/unparser_test.dart |
| +++ b/tests/compiler/dart2js/unparser_test.dart |
| @@ -75,6 +75,13 @@ testDart2DartWithLibrary( |
| const ['--output-type=dart', '--unparse-validation']).then(continuation); |
| } |
| +testSignedConstants() { |
|
Roman
2012/07/31 07:52:12
what about +inf, -inf, +0.0, -0.0 ?
Anton Muhin
2012/07/31 08:01:16
There is no inf, zero tests are added
|
| + testUnparse('var x=+42;'); |
| + testUnparse('var x=+.42;'); |
| + testUnparse('var x=-42;'); |
| + testUnparse('var x=-.42;'); |
| +} |
| + |
| testGenericTypes() { |
| testUnparse('var x=new List<List<int>>();'); |
| testUnparse('var x=new List<List<List<int>>>();'); |
| @@ -374,6 +381,7 @@ main() { |
| } |
| main() { |
| + testSignedConstants(); |
| testGenericTypes(); |
| testForLoop(); |
| testEmptyList(); |