Skip to content

Commit 8acb2b0

Browse files
IikeliKyle-Ye
andcommitted
Update multiline string with extended delimiters
Co-authored-by: Kyle <[email protected]>
1 parent 8f9670f commit 8acb2b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/MarkdownTests/Inline Nodes/LineBreakTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ final class LineBreakTests: XCTestCase {
3939

4040
/// Test that hard line breaks work with a slash.
4141
func testSlashHardLineBreak() {
42-
let source = """
43-
Paragraph.\\
42+
let source = #"""
43+
Paragraph.\
4444
Still the same paragraph.
45-
"""
45+
"""#
4646
let document = Document(parsing: source)
4747
let paragraph = document.child(at: 0) as! Paragraph
4848
XCTAssertTrue(Array(paragraph.children)[1] is LineBreak)

0 commit comments

Comments
 (0)