Index: pkg/analyzer/test/src/summary/resynthesize_common.dart |
diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
index effd04456a7904d26c28733e976e7e398bc2dcef..0449014e120afccec87512bd4410c98a1be362dd 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
@@ -8049,7 +8049,16 @@ unit: foo.dart |
test_metadata_prefixed_variable() async { |
addLibrarySource('/a.dart', 'const b = null;'); |
var library = await checkLibrary('import "a.dart" as a; @a.b class C {}'); |
- checkElementText(library, r''' |
+ if (isSharedFrontEnd) { |
+ checkElementText(library, r''' |
+import 'a.dart' as a; |
+@ |
+ b/*location: a.dart;b?*/ |
+class C { |
+} |
+'''); |
+ } else { |
+ checkElementText(library, r''' |
import 'a.dart' as a; |
@ |
a/*location: test.dart;a*/. |
@@ -8057,6 +8066,7 @@ import 'a.dart' as a; |
class C { |
} |
'''); |
+ } |
} |
test_metadata_simpleFormalParameter() async { |