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 eea778b310185fbb53f1d66ce886671e71a6761e..7e682a9bf25c43f04f9e0254a64f68fa6f61aea4 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_test.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart |
@@ -3652,7 +3652,8 @@ get g { |
} |
test_localLabels_inConstructor() { |
- checkLibrary(r''' |
+ checkLibrary( |
+ r''' |
class C { |
C() { |
aaa: while (true) {} |
@@ -3662,11 +3663,13 @@ class C { |
} |
} |
} |
-'''); |
+''', |
+ allowErrors: true); |
} |
test_localLabels_inMethod() { |
- checkLibrary(r''' |
+ checkLibrary( |
+ r''' |
class C { |
m() { |
aaa: while (true) {} |
@@ -3676,11 +3679,13 @@ class C { |
} |
} |
} |
-'''); |
+''', |
+ allowErrors: true); |
} |
test_localLabels_inTopLevelFunction() { |
- checkLibrary(r''' |
+ checkLibrary( |
+ r''' |
main() { |
aaa: while (true) {} |
bbb: switch (42) { |
@@ -3688,7 +3693,8 @@ main() { |
break; |
} |
} |
-'''); |
+''', |
+ allowErrors: true); |
} |
test_localVariables_inConstructor() { |