| Index: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/internal/text/SemanticHighlightingTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/internal/text/SemanticHighlightingTest.java b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/internal/text/SemanticHighlightingTest.java
|
| index 47df3b31c7ef442e132af04bd335a1bc58af152e..01b95d0afed321e8543b8eecf27c222430454e1e 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/internal/text/SemanticHighlightingTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/internal/text/SemanticHighlightingTest.java
|
| @@ -200,6 +200,21 @@ public class SemanticHighlightingTest extends AbstractDartTest {
|
| assertNoWordPosition(SemanticHighlightings.BUILT_IN, "implements = 0;");
|
| }
|
|
|
| + public void test_builtIn_on() throws Exception {
|
| + preparePositions(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "class E1 {}",
|
| + "class E2 {}",
|
| + "main() {",
|
| + " try {",
|
| + " } on E1 catch (e) {",
|
| + " } on E2 catch (e) {",
|
| + " }",
|
| + "");
|
| + assertHasWordPosition(SemanticHighlightings.BUILT_IN, "on E1");
|
| + assertHasWordPosition(SemanticHighlightings.BUILT_IN, "on E2");
|
| + }
|
| +
|
| public void test_builtIn_operator_method() throws Exception {
|
| preparePositions(
|
| "// filler filler filler filler filler filler filler filler filler filler",
|
|
|