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

Unified Diff: tests/compiler/dart2js/unparser_test.dart

Issue 23526078: Remove dart2js unparse-tests for illegal syntax (+2 etc.). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/unparser_test.dart
diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
index 38e9bdba37acc1289ab241191c3b92570aed0f06..c00d6e2882ab267d9f07a61e87b584cdd9c91100 100644
--- a/tests/compiler/dart2js/unparser_test.dart
+++ b/tests/compiler/dart2js/unparser_test.dart
@@ -29,13 +29,8 @@ testUnparseTopLevelWithMetadata(String code) {
}
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;');
@@ -342,7 +337,7 @@ testParameters() {
}
testSymbolLiterals() {
- testUnparse("#+;");
+ testUnparse("#+;");
testUnparse("#-;");
testUnparse("#*;");
testUnparse("#/;");
@@ -356,7 +351,7 @@ testSymbolLiterals() {
testUnparse("#&;");
testUnparse("#|;");
testUnparse("#^;");
-
+
testUnparse("#a;");
testUnparse("#a.b;");
testUnparse("#a.b.c;");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698