rustdoc: Update one of the markdown fn tests
This commit is contained in:
parent
c98cfa4f28
commit
93686543e6
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ mod test {
|
|||
#[test]
|
||||
fn write_markdown_should_write_function_header() {
|
||||
let markdown = render("fn func() { }");
|
||||
assert str::contains(markdown, "## Function `func`");
|
||||
assert str::contains(markdown, "### Function `func`");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue