Skip to content

Commit 383d169

Browse files
committed
Fix unit tests
1 parent c0af897 commit 383d169

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustdoc/html/markdown.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1374,14 +1374,14 @@ mod tests {
13741374
#[test]
13751375
fn issue_17736() {
13761376
let markdown = "# title";
1377-
format!("{}", Markdown(markdown, RenderType::Pulldown));
1377+
format!("{}", Markdown(markdown, &[], RenderType::Pulldown));
13781378
reset_ids(true);
13791379
}
13801380

13811381
#[test]
13821382
fn test_header() {
13831383
fn t(input: &str, expect: &str) {
1384-
let output = format!("{}", Markdown(input, RenderType::Pulldown));
1384+
let output = format!("{}", Markdown(input, &[], RenderType::Pulldown));
13851385
assert_eq!(output, expect, "original: {}", input);
13861386
reset_ids(true);
13871387
}
@@ -1403,7 +1403,7 @@ mod tests {
14031403
#[test]
14041404
fn test_header_ids_multiple_blocks() {
14051405
fn t(input: &str, expect: &str) {
1406-
let output = format!("{}", Markdown(input, RenderType::Pulldown));
1406+
let output = format!("{}", Markdown(input, &[], RenderType::Pulldown));
14071407
assert_eq!(output, expect, "original: {}", input);
14081408
}
14091409

0 commit comments

Comments
 (0)