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 a9ffa1ed72876c19cd5a9e6a6b96c36761a7a2fc..e12adda248ba33887720a2bc8abbf87033973d42 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 |
@@ -1,11 +1,11 @@ |
/* |
* Copyright (c) 2012, the Dart project authors. |
- * |
+ * |
* Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except |
* in compliance with the License. You may obtain a copy of the License at |
- * |
+ * |
* http://www.eclipse.org/legal/epl-v10.html |
- * |
+ * |
* Unless required by applicable law or agreed to in writing, software distributed under the License |
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
* or implied. See the License for the specific language governing permissions and limitations under |
@@ -47,7 +47,7 @@ public class CompletionEngineTest extends TestCase { |
public void testCommentSnippets002() throws Exception { |
test( |
- "class Y {String x='hi';mth() {x.l!1ength;int n = 0;x!2.charCodeAt(n!3);}}", |
+ "class Y {String x='hi';mth() {x.l!1ength;int n = 0;x!2.codeUnitAt(n!3);}}", |
"1+length", |
"2+x", |
"3+n"); |
@@ -873,7 +873,7 @@ public class CompletionEngineTest extends TestCase { |
* character prefix. The first character of the prefix corresponds to an X in the |
* <code>originalSource</code>. The second character is either a '+' or a '-' indicating whether |
* the string is a positive or negative result. |
- * |
+ * |
* @param originalSource The source for a completion test that contains completion points |
* @param validationStrings The positive and negative predictions |
*/ |