| Index: pkg/analyzer/test/generated/resolver_test.dart
|
| diff --git a/pkg/analyzer/test/generated/resolver_test.dart b/pkg/analyzer/test/generated/resolver_test.dart
|
| index 40f52dbd789b96c4352cd03fcac4850165629582..c0918ff535802449c258f341b3e83e44621bc599 100644
|
| --- a/pkg/analyzer/test/generated/resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/resolver_test.dart
|
| @@ -2902,9 +2902,7 @@ class NonErrorResolverTest extends ResolverTestCase {
|
| void test_nativeFunctionBodyInNonSDKCode_function() {
|
| Source source = addSource(EngineTestCase.createSource(["import 'dart-ext:x';", "int m(a) native 'string';"]));
|
| resolve(source);
|
| - // There's no good way to fool the file system into believing that the referenced file exists,
|
| - // but the test still verifies that the native function body is allowed because of the import.
|
| - assertErrors(source, [CompileTimeErrorCode.URI_DOES_NOT_EXIST]);
|
| + assertNoErrors(source);
|
| }
|
|
|
| void test_newWithAbstractClass_factory() {
|
| @@ -12885,12 +12883,6 @@ class CompileTimeErrorCodeTest extends ResolverTestCase {
|
| assertErrors(source, [CompileTimeErrorCode.URI_DOES_NOT_EXIST]);
|
| }
|
|
|
| - void test_uriDoesNotExist_nativeLibrary() {
|
| - Source source = addSource(EngineTestCase.createSource(["import 'dart-ext:lib';"]));
|
| - resolve(source);
|
| - assertErrors(source, [CompileTimeErrorCode.URI_DOES_NOT_EXIST]);
|
| - }
|
| -
|
| void test_uriDoesNotExist_part() {
|
| Source source = addSource(EngineTestCase.createSource(["part 'unknown.dart';"]));
|
| resolve(source);
|
| @@ -14297,10 +14289,6 @@ class CompileTimeErrorCodeTest extends ResolverTestCase {
|
| final __test = new CompileTimeErrorCodeTest();
|
| runJUnitTest(__test, __test.test_uriDoesNotExist_import);
|
| });
|
| - _ut.test('test_uriDoesNotExist_nativeLibrary', () {
|
| - final __test = new CompileTimeErrorCodeTest();
|
| - runJUnitTest(__test, __test.test_uriDoesNotExist_nativeLibrary);
|
| - });
|
| _ut.test('test_uriDoesNotExist_part', () {
|
| final __test = new CompileTimeErrorCodeTest();
|
| runJUnitTest(__test, __test.test_uriDoesNotExist_part);
|
|
|