| Index: editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/internal/local/computer/DartUnitHighlightsComputerTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/internal/local/computer/DartUnitHighlightsComputerTest.java b/editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/internal/local/computer/DartUnitHighlightsComputerTest.java
|
| index 21f11ac45b98ca717572e581b4f02d520da26982..2747a8e8de1c6c9462fc49cf30f5183a185008bd 100644
|
| --- a/editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/internal/local/computer/DartUnitHighlightsComputerTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/internal/local/computer/DartUnitHighlightsComputerTest.java
|
| @@ -29,16 +29,6 @@ public class DartUnitHighlightsComputerTest extends AbstractLocalServerTest {
|
| private String testCode;
|
| private HighlightRegion[] regions;
|
|
|
| - public void fail_BUILT_IN_deferred() throws Exception {
|
| - prepareRegions(//
|
| - "import 'dart:math' deferred as math;",
|
| - "main() {",
|
| - " int deferred = 42;",
|
| - "}");
|
| - assertHasRegion("deferred as math", HighlightType.BUILT_IN);
|
| - assertNoRegion("deferred = 42", HighlightType.BUILT_IN);
|
| - }
|
| -
|
| public void test_ANNOTATION_hasArguments() throws Exception {
|
| prepareRegions(//
|
| "class AAA {",
|
| @@ -78,6 +68,16 @@ public class DartUnitHighlightsComputerTest extends AbstractLocalServerTest {
|
| assertNoRegion("as = 42", HighlightType.BUILT_IN);
|
| }
|
|
|
| + public void test_BUILT_IN_deferred() throws Exception {
|
| + prepareRegions(//
|
| + "import 'dart:math' deferred as math;",
|
| + "main() {",
|
| + " int deferred = 42;",
|
| + "}");
|
| + assertHasRegion("deferred as math", HighlightType.BUILT_IN);
|
| + assertNoRegion("deferred = 42", HighlightType.BUILT_IN);
|
| + }
|
| +
|
| public void test_BUILT_IN_export() throws Exception {
|
| prepareRegions(//
|
| "export 'foo.dart';",
|
|
|