Skip to content

Commit db2573d

Browse files
committed
Add lit test
1 parent 8af49f9 commit db2573d

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
Name: 'withHtmlTag'
3+
Description:
4+
- Kind: FullComment
5+
Children:
6+
- Kind: VerbatimBlockComment
7+
Name: 'verbatim'
8+
CloseName: 'endverbatim'
9+
Children:
10+
- Kind: VerbatimBlockLineComment
11+
Text: '<ul class="test"><li> Testing. </li></ul>'
12+
...
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// RUN: clang-doc --public --format=yaml -p %T %s -output=%t
2+
// RUN: FileCheck --input-file=%S/Inputs/html-tag-comment.yaml %s
3+
4+
/// \verbatim <ul class="test"><li> Testing. </li></ul> \endverbatim
5+
void withHtmlTag() {}
6+
// CHECK: ---
7+
// CHECK: Name: 'withHtmlTag'
8+
// CHECK: Description:
9+
// CHECK: - Kind: FullComment
10+
// CHECK: Children:
11+
// CHECK: - Kind: VerbatimBlockComment
12+
// CHECK: Name: 'verbatim'
13+
// CHECK: CloseName: 'endverbatim'
14+
// CHECK: Children:
15+
// CHECK: - Kind: VerbatimBlockLineComment
16+
// CHECK: Text: '<ul class="test"><li> Testing. </li></ul>'
17+
// CHECK: ...

0 commit comments

Comments
 (0)