| Index: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java
|
| index eb0fa49b3256009943235355378edeb58215d476..13a86c3def281c574cd9dc7347e97476500fdd81 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java
|
| @@ -384,6 +384,16 @@ public class CompletionEngineTest extends TestCase {
|
| test(source, "1+toUpperCase");
|
| }
|
|
|
| + public void testCommentSnippets057() throws Exception {
|
| + String source = Joiner.on("\n").join(
|
| + "void f(var v) {",
|
| + " if ((v as String).length == 0) {",
|
| + " v.!1toUpperCase;",
|
| + " }",
|
| + "}");
|
| + test(source, "1+toUpperCase");
|
| + }
|
| +
|
| public void testCompletion_alias_field() throws Exception {
|
| // fails because test framework does not set compilation unit
|
| // tests cannot check completion of any type defined in the test
|
|
|