@@ -2717,7 +2717,7 @@ final class StatementExpressionTests: ParserTestCase {
27172717 func testClosureWithMissingParentheses() {
27182718 assertParse(
27192719 """
2720- _ = { 1 ️⃣a: Int, b: Int 2 ️⃣ in
2720+ _ = { 1 ️⃣a: Int, b: Int 2 ️⃣ in
27212721 }
27222722 """ ,
27232723 diagnostics: [
@@ -2742,7 +2742,7 @@ final class StatementExpressionTests: ParserTestCase {
27422742 func testClosureWithReturnArrowAndMissingParentheses() {
27432743 assertParse(
27442744 """
2745- _ = { 1 ️⃣a: Int, b: 2 ️⃣Int 3 ️⃣ -> Int 4 ️⃣ in
2745+ _ = { 1 ️⃣a: Int, b: 2 ️⃣Int 3 ️⃣ -> Int 4 ️⃣ in
27462746 }
27472747 """ ,
27482748 diagnostics: [
@@ -2834,12 +2834,12 @@ final class StatementExpressionTests: ParserTestCase {
28342834 fixedSource: " [() async throws (MyError) -> Void]() "
28352835 )
28362836 assertParse(
2837- " [() 1️⃣try (MyError) async -> Void]() " ,
2837+ " [()1️⃣ try (MyError) async -> Void]() " ,
28382838 diagnostics: [DiagnosticSpec(message: " expected ',' in array element " , fixIts: [ " insert ',' " ])],
28392839 fixedSource: " [(), try(MyError) async -> Void]() "
28402840 )
28412841 assertParse(
2842- " [() 1️⃣try async(MyError) -> Void]() " ,
2842+ " [()1️⃣ try async(MyError) -> Void]() " ,
28432843 diagnostics: [DiagnosticSpec(message: " expected ',' in array element " , fixIts: [ " insert ',' " ])],
28442844 fixedSource: " [(), try async(MyError) -> Void]() "
28452845 )
@@ -2859,7 +2859,7 @@ final class StatementExpressionTests: ParserTestCase {
28592859 fixedSource: " [() async throws (MyError) -> Void]() "
28602860 )
28612861 assertParse(
2862- " [() 1️⃣try (MyError) 2️⃣await 3️⃣-> Void]() " ,
2862+ " [()1️⃣ try (MyError)2️⃣ await 3️⃣-> Void]() " ,
28632863 diagnostics: [
28642864 DiagnosticSpec(
28652865 locationMarker: " 1️⃣ " ,
@@ -2880,22 +2880,22 @@ final class StatementExpressionTests: ParserTestCase {
28802880 fixedSource: " [(), try(MyError), await <#expression#> -> Void]() "
28812881 )
28822882 assertParse(
2883- " [() 1️⃣try await(MyError) -> Void]() " ,
2883+ " [()1️⃣ try await(MyError) -> Void]() " ,
28842884 diagnostics: [DiagnosticSpec(message: " expected ',' in array element " , fixIts: [ " insert ',' " ])],
28852885 fixedSource: " [(), try await(MyError) -> Void]() "
28862886 )
28872887 assertParse(
2888- " [() 1️⃣async (MyError) -> Void]() " ,
2888+ " [()1️⃣ async (MyError) -> Void]() " ,
28892889 diagnostics: [DiagnosticSpec(message: " expected ',' in array element " , fixIts: [ " insert ',' " ])],
28902890 fixedSource: " [(), async(MyError) -> Void]() "
28912891 )
28922892 assertParse(
2893- " [() 1️⃣await (MyError) -> Void]() " ,
2893+ " [()1️⃣ await (MyError) -> Void]() " ,
28942894 diagnostics: [DiagnosticSpec(message: " expected ',' in array element " , fixIts: [ " insert ',' " ])],
28952895 fixedSource: " [(), await(MyError) -> Void]() "
28962896 )
28972897 assertParse(
2898- " [() 1️⃣try (MyError) -> Void]() " ,
2898+ " [()1️⃣ try (MyError) -> Void]() " ,
28992899 diagnostics: [DiagnosticSpec(message: " expected ',' in array element " , fixIts: [ " insert ',' " ])],
29002900 fixedSource: " [(), try(MyError) -> Void]() "
29012901 )
@@ -2914,7 +2914,7 @@ final class StatementExpressionTests: ParserTestCase {
29142914 assertParse( " [() ()] " )
29152915
29162916 assertParse(
2917- " [1 1️⃣2 ] " ,
2917+ " [11️⃣ 2 ] " ,
29182918 diagnostics: [
29192919 DiagnosticSpec(
29202920 message: " expected ',' in array element " ,
@@ -2925,7 +2925,7 @@ final class StatementExpressionTests: ParserTestCase {
29252925 )
29262926
29272927 assertParse(
2928- # " [ " hello " 1️⃣" world " ] " #,
2928+ # " [ " hello " 1️⃣ " world " ] " #,
29292929 diagnostics: [
29302930 DiagnosticSpec(
29312931 message: " expected ',' in array element " ,
@@ -2938,7 +2938,7 @@ final class StatementExpressionTests: ParserTestCase {
29382938
29392939 func testDictionaryExprWithNoCommas() {
29402940 assertParse(
2941- " [1: () 1️⃣2 : ()] " ,
2941+ " [1: ()1️⃣ 2 : ()] " ,
29422942 diagnostics: [
29432943 DiagnosticSpec(
29442944 message: " expected ',' in dictionary element " ,
@@ -2949,7 +2949,7 @@ final class StatementExpressionTests: ParserTestCase {
29492949 )
29502950
29512951 assertParse(
2952- # " [ " foo " : 1 1️⃣ " bar " : 2] " #,
2952+ # " [ " foo " : 11️⃣ " bar " : 2] " #,
29532953 diagnostics: [
29542954 DiagnosticSpec(
29552955 message: " expected ',' in dictionary element " ,
@@ -2960,7 +2960,7 @@ final class StatementExpressionTests: ParserTestCase {
29602960 )
29612961
29622962 assertParse(
2963- # " [1: " hello " 1️⃣2 : " world " ] " #,
2963+ # " [1: " hello " 1️⃣ 2 : " world " ] " #,
29642964 diagnostics: [
29652965 DiagnosticSpec(
29662966 message: " expected ',' in dictionary element " ,
0 commit comments