Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/html/angular/AngularHtmlUnitResolverTest.java |
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/html/angular/AngularHtmlUnitResolverTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/html/angular/AngularHtmlUnitResolverTest.java |
index 782379a3f7a8333af9f2ff6c45ae9ae5d482c220..4f8a5356abb03d8d360c1a2904c476a5ded1e14b 100644 |
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/html/angular/AngularHtmlUnitResolverTest.java |
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/html/angular/AngularHtmlUnitResolverTest.java |
@@ -753,6 +753,12 @@ public class AngularHtmlUnitResolverTest extends AngularTest { |
assertResolvedIdentifier("uppercase"); |
} |
+ public void test_resolveExpression_withFilter_missingColon() throws Exception { |
+ addMyController(); |
+ resolveIndex(createHtmlWithMyController("{{ctrl.field | uppercase, lowercase}}")); |
+ assertErrors(indexSource, AngularCode.MISSING_FORMATTER_COLON); |
+ } |
+ |
public void test_resolveExpression_withFilter_notSimpleIdentifier() throws Exception { |
addMyController(); |
resolveIndex(createHtmlWithMyController("{{ctrl.field | not.supported}}")); |