| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
|
| index 818feeec9503833f06d6ea216c72fc14d9e665e3..9b296dd4e075539bd0c95c89bccfae6a808e1aa8 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
|
| @@ -16,19 +16,6 @@ package com.google.dart.engine.resolver;
|
| import com.google.dart.engine.source.Source;
|
|
|
| public class NonHintCodeTest extends ResolverTestCase {
|
| - public void fail_importDeferredLibraryWithLoadFunction() throws Exception {
|
| - addNamedSource("/lib1.dart", createSource(//
|
| - "library lib1;",
|
| - "f() {}"));
|
| - Source source = addSource(createSource(//
|
| - "library root;",
|
| - "import 'lib1.dart' deferred as lib1;",
|
| - "main() { lib1.f(); }"));
|
| - resolve(source);
|
| - assertNoErrors(source);
|
| - verify(source);
|
| - }
|
| -
|
| public void test_deadCode_deadBlock_conditionalElse_debugConst() throws Exception {
|
| Source source = addSource(createSource(//
|
| "const bool DEBUG = true;",
|
| @@ -245,6 +232,19 @@ public class NonHintCodeTest extends ResolverTestCase {
|
| verify(source);
|
| }
|
|
|
| + public void test_importDeferredLibraryWithLoadFunction() throws Exception {
|
| + addNamedSource("/lib1.dart", createSource(//
|
| + "library lib1;",
|
| + "f() {}"));
|
| + Source source = addSource(createSource(//
|
| + "library root;",
|
| + "import 'lib1.dart' deferred as lib1;",
|
| + "main() { lib1.f(); }"));
|
| + resolve(source);
|
| + assertNoErrors(source);
|
| + verify(source);
|
| + }
|
| +
|
| public void test_missingReturn_emptyFunctionBody() throws Exception {
|
| Source source = addSource(createSource(//
|
| "abstract class A {",
|
|
|