@@ -634,7 +634,7 @@ final class MultilineErrorsTests: ParserTestCase {
634
634
diagnostics: [
635
635
DiagnosticSpec (
636
636
message: " escaped newline at the last line of a multi-line string literal is not allowed " ,
637
- fixIts: [ " remove ' \' " ]
637
+ fixIts: [ # "remove '\'"# ]
638
638
)
639
639
] ,
640
640
fixedSource: #"""
@@ -656,7 +656,7 @@ final class MultilineErrorsTests: ParserTestCase {
656
656
diagnostics: [
657
657
DiagnosticSpec (
658
658
message: " escaped newline at the last line of a multi-line string literal is not allowed " ,
659
- fixIts: [ " remove '' " ]
659
+ fixIts: [ # "remove '\'"# ]
660
660
)
661
661
] ,
662
662
fixedSource: #"""
@@ -677,7 +677,7 @@ final class MultilineErrorsTests: ParserTestCase {
677
677
diagnostics: [
678
678
DiagnosticSpec (
679
679
message: " escaped newline at the last line of a multi-line string literal is not allowed " ,
680
- fixIts: [ " remove '' " ]
680
+ fixIts: [ # "remove '\'"# ]
681
681
)
682
682
] ,
683
683
fixedSource: #"""
@@ -698,7 +698,7 @@ final class MultilineErrorsTests: ParserTestCase {
698
698
diagnostics: [
699
699
DiagnosticSpec (
700
700
message: " escaped newline at the last line of a multi-line string literal is not allowed " ,
701
- fixIts: [ " remove '' " ]
701
+ fixIts: [ # "remove '\'"# ]
702
702
)
703
703
] ,
704
704
fixedSource: #"""
@@ -710,27 +710,6 @@ final class MultilineErrorsTests: ParserTestCase {
710
710
}
711
711
712
712
func testMultilineErrors25( ) {
713
- assertParseWithAllNewlineEndings (
714
- #"""
715
- _ = """
716
- foo1️⃣\
717
- """
718
- """# ,
719
- diagnostics: [
720
- DiagnosticSpec (
721
- message: " escaped newline at the last line of a multi-line string literal is not allowed " ,
722
- fixIts: [ " remove '' " ]
723
- )
724
- ] ,
725
- fixedSource: #"""
726
- _ = """
727
- foo
728
- """
729
- """#
730
- )
731
- }
732
-
733
- func testMultilineErrors26( ) {
734
713
assertParseWithAllNewlineEndings (
735
714
##"""
736
715
_ = ℹ️"""
@@ -756,7 +735,7 @@ final class MultilineErrorsTests: ParserTestCase {
756
735
)
757
736
}
758
737
759
- func testMultilineErrors28 ( ) {
738
+ func testMultilineErrors26 ( ) {
760
739
assertParseWithAllNewlineEndings (
761
740
#"""
762
741
_ = """
@@ -766,7 +745,7 @@ final class MultilineErrorsTests: ParserTestCase {
766
745
diagnostics: [
767
746
DiagnosticSpec (
768
747
message: " escaped newline at the last line of a multi-line string literal is not allowed " ,
769
- fixIts: [ " remove '' " ]
748
+ fixIts: [ # "remove '\'"# ]
770
749
)
771
750
] ,
772
751
fixedSource: #"""
@@ -777,7 +756,7 @@ final class MultilineErrorsTests: ParserTestCase {
777
756
)
778
757
}
779
758
780
- func testMultilineErrors29 ( ) {
759
+ func testMultilineErrors27 ( ) {
781
760
assertParseWithAllNewlineEndings (
782
761
#"""
783
762
_ = """1️⃣\
@@ -790,7 +769,7 @@ final class MultilineErrorsTests: ParserTestCase {
790
769
) ,
791
770
DiagnosticSpec (
792
771
message: " escaped newline at the last line of a multi-line string literal is not allowed " ,
793
- fixIts: [ " remove '' " ]
772
+ fixIts: [ # "remove '\'"# ]
794
773
) ,
795
774
] ,
796
775
fixedSource: #"""
@@ -802,7 +781,7 @@ final class MultilineErrorsTests: ParserTestCase {
802
781
)
803
782
}
804
783
805
- func testMultilineErrors30 ( ) {
784
+ func testMultilineErrors28 ( ) {
806
785
assertParseWithAllNewlineEndings (
807
786
##"""
808
787
let _ = """
@@ -839,7 +818,7 @@ final class MultilineErrorsTests: ParserTestCase {
839
818
)
840
819
}
841
820
842
- func testMultilineErrors31 ( ) {
821
+ func testMultilineErrors29 ( ) {
843
822
assertParseWithAllNewlineEndings (
844
823
##"""
845
824
let _ = """
0 commit comments