Skip to content

Commit b2622d6

Browse files
committed
test(mock/topical-doc-data): add test cases with both a flag and a topic
1 parent f34625c commit b2622d6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/test/mock/topical_doc_data.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ static TEST_CASES: &[(&[&str], &str)] = &[
2020
(&["eprintln"], "std/macro.eprintln.html"),
2121
(&["alloc::format"], "alloc/macro.format.html"),
2222
(&["std::mem::MaybeUninit"], "std/mem/union.MaybeUninit.html"),
23+
(&["--rustc", "lints"], "rustc/lints/index.html"),
24+
(&["--rustdoc", "lints"], "rustdoc/lints.html"),
25+
(
26+
&["lints::broken_intra_doc_links", "--rustdoc"],
27+
"rustdoc/lints.html",
28+
),
2329
];
2430

2531
fn repath(origin: &str) -> String {

0 commit comments

Comments
 (0)