Update mixed doc comments test

This commit is contained in:
Guillaume Gomez 2022-01-01 11:04:44 +01:00
parent ee97600a6f
commit c6ee7bbe51
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,3 @@
<div class="docblock"><p>Par 1</p>
<p>Par 2</p>
</div>

View file

@ -16,3 +16,10 @@ pub struct S1;
#[doc = "Goodbye!"]
/// Hello again!
pub struct S2;
// @has 'foo/struct.S3.html'
// @snapshot S3_top-doc - '//details[@class="rustdoc-toggle top-doc"]/div[@class="docblock"]'
/** Par 1
*/ ///
/// Par 2
pub struct S3;