| Index: pkg/analyzer/test/generated/parser_test.dart
|
| diff --git a/pkg/analyzer/test/generated/parser_test.dart b/pkg/analyzer/test/generated/parser_test.dart
|
| index 9fc01e2f679cacd8396356c1dcf7f1619c680482..b01fb1fd8699ce1c701500a26b1d8942715ee2ce 100644
|
| --- a/pkg/analyzer/test/generated/parser_test.dart
|
| +++ b/pkg/analyzer/test/generated/parser_test.dart
|
| @@ -2033,6 +2033,24 @@ class Foo {
|
| "static var x;", [ParserErrorCode.STATIC_TOP_LEVEL_DECLARATION]);
|
| }
|
|
|
| + void test_string_unterminated_interpolation_block() {
|
| + ParserTestCase.parseCompilationUnit(
|
| + r'''
|
| +m() {
|
| + {
|
| + '${${
|
| +''',
|
| + [
|
| + ScannerErrorCode.UNTERMINATED_STRING_LITERAL,
|
| + ParserErrorCode.EXPECTED_TOKEN,
|
| + ParserErrorCode.EXPECTED_TOKEN,
|
| + ParserErrorCode.EXPECTED_TOKEN,
|
| + ParserErrorCode.EXPECTED_TOKEN,
|
| + ParserErrorCode.EXPECTED_TOKEN,
|
| + ParserErrorCode.EXPECTED_TOKEN,
|
| + ]);
|
| + }
|
| +
|
| void test_switchHasCaseAfterDefaultCase() {
|
| parse4(
|
| "parseSwitchStatement",
|
|
|