We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f9670f commit 8acb2b0Copy full SHA for 8acb2b0
Tests/MarkdownTests/Inline Nodes/LineBreakTests.swift
@@ -39,10 +39,10 @@ final class LineBreakTests: XCTestCase {
39
40
/// Test that hard line breaks work with a slash.
41
func testSlashHardLineBreak() {
42
- let source = """
43
- Paragraph.\\
+ let source = #"""
+ Paragraph.\
44
Still the same paragraph.
45
- """
+ """#
46
let document = Document(parsing: source)
47
let paragraph = document.child(at: 0) as! Paragraph
48
XCTAssertTrue(Array(paragraph.children)[1] is LineBreak)
0 commit comments