Skip to content

Commit

Permalink
test(mock/topical-doc-data): add test cases with both a flag and a topic
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Dec 9, 2024
1 parent 620848a commit 4f46570
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/test/mock/topical_doc_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ static TEST_CASES: &[(&[&str], &str)] = &[
(&["eprintln"], "std/macro.eprintln.html"),
(&["alloc::format"], "alloc/macro.format.html"),
(&["std::mem::MaybeUninit"], "std/mem/union.MaybeUninit.html"),
(&["--rustc", "lints"], "rustc/lints/index.html"),
(&["--rustdoc", "lints"], "rustdoc/lints.html"),
(
&["lints::broken_intra_doc_links", "--rustdoc"],
"rustdoc/lints.html",
),
];

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

0 comments on commit 4f46570

Please sign in to comment.