@@ -14,7 +14,7 @@ import XCTest
1414final class MarkupTreeDumperTests : XCTestCase {
1515 func testDumpEverything( ) {
1616 let expectedDump = """
17- Document @1:1-39:90 Root # \( everythingDocument. raw. metadata. id. rootId) #0
17+ Document @1:1-37:6 Root # \( everythingDocument. raw. metadata. id. rootId) #0
1818 ├─ Heading @1:1-1:9 #1 level: 1
1919 │ └─ Text @1:3-1:9 #2 " Header "
2020 ├─ Paragraph @3:1-3:65 #3
@@ -52,8 +52,8 @@ final class MarkupTreeDumperTests: XCTestCase {
5252 │ └─ ListItem @11:1-12:1 #35
5353 │ └─ Paragraph @11:4-11:8 #36
5454 │ └─ Text @11:4-11:8 #37 " milk "
55- ├─ BlockQuote @13:1-13:13 #38
56- │ └─ Paragraph @13:3-13:13 #39
55+ ├─ BlockQuote @13:1-13:14 #38
56+ │ └─ Paragraph @13:3-13:14 #39
5757 │ └─ Text @13:3-13:13 #40 " BlockQuote "
5858 ├─ CodeBlock @15:1-19:4 #41 language: swift
5959 │ func foo() {
@@ -81,12 +81,10 @@ final class MarkupTreeDumperTests: XCTestCase {
8181 │ ├─ Text @33:1-33:7 #57 " line "
8282 │ ├─ LineBreak #58
8383 │ └─ Text @34:1-34:6 #59 " break "
84- ├─ Paragraph @36:1-37:6 #60
85- │ ├─ Text @36:1-36:5 #61 " soft "
86- │ ├─ SoftBreak #62
87- │ └─ Text @37:1-37:6 #63 " break "
88- └─ HTMLBlock @39:1-39:90 #64
89- <!-- Copyright (c) 2021 Apple Inc and the Swift Project authors. All Rights Reserved. -->
84+ └─ Paragraph @36:1-37:6 #60
85+ ├─ Text @36:1-36:5 #61 " soft "
86+ ├─ SoftBreak #62
87+ └─ Text @37:1-37:6 #63 " break "
9088 """
9189 print ( everythingDocument. debugDescription ( options: [ . printEverything] ) )
9290 XCTAssertEqual ( expectedDump, everythingDocument. debugDescription ( options: [ . printEverything] ) )
0 commit comments