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

Unified Diff: compiler/javatests/com/google/dart/compiler/parser/CommentTest.java

Issue 9030028: Issue 1039: Nested comments (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Expand CommentTest.java Created 8 years, 12 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
Index: compiler/javatests/com/google/dart/compiler/parser/CommentTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/parser/CommentTest.java b/compiler/javatests/com/google/dart/compiler/parser/CommentTest.java
index 67fd64908820bc00ac77f9dba8b8c7ac6814f245..cfefd14362bda35b3636f486c7632bf154122fb0 100644
--- a/compiler/javatests/com/google/dart/compiler/parser/CommentTest.java
+++ b/compiler/javatests/com/google/dart/compiler/parser/CommentTest.java
@@ -30,6 +30,7 @@ public class CommentTest extends CompilerTestCase {
super(source, sourceCode, listener);
}
+ @Override
protected DartScanner createScanner(String sourceCode) {
return new CommentScanner(sourceCode);
}
@@ -65,7 +66,7 @@ public class CommentTest extends CompilerTestCase {
private String source;
private static String[] EXPECTED001 = {"/*\n * Beginning comment\n */",
- "// line comment", "// another", "/**/", "//",
+ "// line comment", "// another", "/**/", "//", "/*/*nested*/*/",
};
private static String[] EXPECTED002 = {"/*\n*\n //comment\nX Y"};

Powered by Google App Engine
This is Rietveld 408576698