File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 9797 </li >
9898 { {/Records} }
9999 </ul >
100- { {/HasRecords} }
101100 </section >
101+ { {/HasRecords} }
102102 </div >
103103 </div >
104104 </main >
Original file line number Diff line number Diff line change 11// RUN: rm -rf %t && mkdir -p %t
22// RUN: clang-doc --format=mustache --output=%t --executor=standalone %s
33// RUN: FileCheck %s < %t/html/MyNamespace/index.html
4+ // RUN: FileCheck %s < %t/html/GlobalNamespace/index.html --check-prefix=CHECK-GLOBAL
45
56namespace MyNamespace {
67 class Foo ;
@@ -13,3 +14,18 @@ namespace MyNamespace {
1314// CHECK-NEXT: </a>
1415// CHECK-NEXT: </li>
1516// CHECK-NEXT: </ul>
17+
18+ // COM: Check that the empty global namespace doesn't contain tag mismatches.
19+ // CHECK-GLOBAL: <main>
20+ // CHECK-GLOBAL-NEXT: <div class="container">
21+ // CHECK-GLOBAL-NEXT: <div class="sidebar">
22+ // CHECK-GLOBAL-NEXT: <h2> </h2>
23+ // CHECK-GLOBAL-NEXT: <ul>
24+ // CHECK-GLOBAL-NEXT: </ul>
25+ // CHECK-GLOBAL-NEXT: </div>
26+ // CHECK-GLOBAL-NEXT: <div class="resizer" id="resizer"></div>
27+ // CHECK-GLOBAL-NEXT: <div class="content">
28+ // CHECK-GLOBAL-EMPTY:
29+ // CHECK-GLOBAL-NEXT: </div>
30+ // CHECK-GLOBAL-NEXT: </div>
31+ // CHECK-GLOBAL-NEXT: </main>
You can’t perform that action at this time.
0 commit comments