Add GUI test for warning blocks
This commit is contained in:
parent
57d2b84a57
commit
1d42913058
3 changed files with 59 additions and 1 deletions
|
@ -65,6 +65,18 @@ impl Foo {
|
|||
pub fn must_use(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
/// hello
|
||||
///
|
||||
/// <div id="doc-warning-1" class="warning">this is a warning</div>
|
||||
///
|
||||
/// done
|
||||
pub fn warning1() {}
|
||||
|
||||
/// Checking there is no bottom margin if "warning" is the last element.
|
||||
///
|
||||
/// <div id="doc-warning-2" class="warning">this is a warning</div>
|
||||
pub fn warning2() {}
|
||||
}
|
||||
|
||||
impl AsRef<str> for Foo {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue