Skip to content

Commit 69317a3

Browse files
committed
[clang-doc] precommit code comments
1 parent e520202 commit 69317a3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

clang-tools-extra/test/clang-doc/basic-project.mustache.test

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,15 @@ HTML-CIRCLE: <p></p>
729729
HTML-CIRCLE: </div>
730730
HTML-CIRCLE: <h3>Returns</h3>
731731
HTML-CIRCLE: <p> double The perimeter of the circle.</p>
732+
HTML-CIRCLE-NOT: <h3>Code</h3>
733+
HTML-CIRCLE-NOT: <div>
734+
HTML-CIRCLE-NOT: <pre class="code-block">
735+
HTML-CIRCLE-NOT: <code>
736+
HTML-CIRCLE-NOT: Circle circle(5.0);
737+
HTML-CIRCLE-NOT: double perimeter = circle.perimeter();
738+
HTML-CIRCLE-NOT: </code>
739+
HTML-CIRCLE-NOT: </pre>
740+
HTML-CIRCLE-NOT: </div>
732741
HTML-CIRCLE: </div>
733742
HTML-CIRCLE: </div>
734743
HTML-CIRCLE: </div>

0 commit comments

Comments
 (0)