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

Unified Diff: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SyntaxTranslatorTest.java

Issue 14050010: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SyntaxTranslatorTest.java
diff --git a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SyntaxTranslatorTest.java b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SyntaxTranslatorTest.java
index c4a077334f65d62d078054ecd6251c2dd1aa1355..1a372c856518bebaaf025e21cc375796b224508c 100644
--- a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SyntaxTranslatorTest.java
+++ b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/SyntaxTranslatorTest.java
@@ -185,6 +185,22 @@ public class SyntaxTranslatorTest extends AbstractSemanticTest {
"}");
}
+ public void test_commentDoc_squaryBrackets() throws Exception {
+ parseJava(
+ "// filler filler filler filler filler filler filler filler filler filler",
+ "/**",
+ " * Some [ident] ignored.",
+ " */",
+ "public class A {",
+ "}");
+ assertDartSource(//
+ "/**",
+ " * Some [[ident]] ignored.",
+ " */",
+ "class A {",
+ "}");
+ }
+
public void test_constructor() throws Exception {
parseJava(
"// filler filler filler filler filler filler filler filler filler filler",

Powered by Google App Engine
This is Rietveld 408576698