| Index: pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| diff --git a/pkg/analyzer/test/src/summary/resynthesize_test.dart b/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| index 367d5b6313ffdc1e05f1f3adc34559751a221e0d..aa7f627cd02a21b7502bc298493cf9a283db211a 100644
|
| --- a/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| +++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| @@ -119,6 +119,7 @@ class ResynthTest extends ResolverTestCase {
|
| original.loadLibraryFunction as ExecutableElementImpl,
|
| '(loadLibraryFunction)');
|
| }
|
| + expect(resynthesized.libraryCycle.toSet(), original.libraryCycle.toSet());
|
| }
|
|
|
| /**
|
| @@ -3970,7 +3971,7 @@ var x;''');
|
| }
|
|
|
| test_variable_propagatedType_final_dep_inLib() {
|
| - addNamedSource('/a.dart', 'final a = 1;');
|
| + addLibrarySource('/a.dart', 'final a = 1;');
|
| checkLibrary('import "a.dart"; final b = a / 2;');
|
| }
|
|
|
| @@ -3985,8 +3986,8 @@ var x;''');
|
|
|
| test_variable_propagatedType_implicit_dep() {
|
| // The propagated type is defined in a library that is not imported.
|
| - addNamedSource('/a.dart', 'class C {}');
|
| - addNamedSource('/b.dart', 'import "a.dart"; C f() => null;');
|
| + addLibrarySource('/a.dart', 'class C {}');
|
| + addLibrarySource('/b.dart', 'import "a.dart"; C f() => null;');
|
| checkLibrary('import "b.dart"; final x = f();');
|
| }
|
|
|
|
|