File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -313,31 +313,31 @@ final class ExpressionTests: XCTestCase {
313
313
314
314
AssertParse (
315
315
##"""
316
- #"#^DQ^##^DD ^#
316
+ #"#^DIAG ^#
317
317
"""## ,
318
318
diagnostics: [
319
- DiagnosticSpec ( locationMarker : " DQ " , message: #"Expected '"' in string literal"# ) ,
320
- DiagnosticSpec ( locationMarker : " DD " , message: #"Expected '#' in string literal"# )
319
+ DiagnosticSpec ( message: #"Expected '"' in string literal"# ) ,
320
+ DiagnosticSpec ( message: #"Expected '#' in string literal"# )
321
321
]
322
322
)
323
323
324
324
AssertParse (
325
325
##"""
326
- #"""#^DQ^##^DD ^#
326
+ #"""#^DIAG ^#
327
327
"""## ,
328
328
diagnostics: [
329
- DiagnosticSpec ( locationMarker : " DQ " , message: #"Expected '"""' in string literal"# ) ,
330
- DiagnosticSpec ( locationMarker : " DD " , message: #"Expected '#' in string literal"# )
329
+ DiagnosticSpec ( message: #"Expected '"""' in string literal"# ) ,
330
+ DiagnosticSpec ( message: #"Expected '#' in string literal"# )
331
331
]
332
332
)
333
333
334
334
AssertParse (
335
335
##"""
336
- #"""a#^DQ^##^DD ^#
336
+ #"""a#^DIAG ^#
337
337
"""## ,
338
338
diagnostics: [
339
- DiagnosticSpec ( locationMarker : " DQ " , message: #"Expected '"""' in string literal"# ) ,
340
- DiagnosticSpec ( locationMarker : " DD " , message: #"Expected '#' in string literal"# )
339
+ DiagnosticSpec ( message: #"Expected '"""' in string literal"# ) ,
340
+ DiagnosticSpec ( message: #"Expected '#' in string literal"# )
341
341
]
342
342
)
343
343
}
You can’t perform that action at this time.
0 commit comments