Skip to content

Commit 8cabda4

Browse files
committed
Auto merge of #49090 - QuietMisdreavus:test-rustdoc-again, r=Mark-Simulacrum
re-enable testing librustdoc This was originally put in in #44274, but #48105 accidentally hid it. This change puts librustdoc unit/doc tests back in the main test listing. fixes #44237 (again)
2 parents cf5cc2e + 6a38e61 commit 8cabda4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/bootstrap/builder.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ impl<'a> Builder<'a> {
309309
test::CompileFailFullDeps, test::IncrementalFullDeps, test::Rustdoc, test::Pretty,
310310
test::RunPassPretty, test::RunFailPretty, test::RunPassValgrindPretty,
311311
test::RunPassFullDepsPretty, test::RunFailFullDepsPretty, test::RunMake,
312-
test::Crate, test::CrateLibrustc, test::Rustdoc, test::Linkcheck, test::Cargotest,
313-
test::Cargo, test::Rls, test::ErrorIndex, test::Distcheck,
312+
test::Crate, test::CrateLibrustc, test::CrateRustdoc, test::Linkcheck,
313+
test::Cargotest, test::Cargo, test::Rls, test::ErrorIndex, test::Distcheck,
314314
test::Nomicon, test::Reference, test::RustdocBook, test::RustByExample,
315315
test::TheBook, test::UnstableBook,
316316
test::Rustfmt, test::Miri, test::Clippy, test::RustdocJS, test::RustdocTheme),

src/librustdoc/html/markdown.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
//! use rustdoc::html::markdown::Markdown;
2222
//!
2323
//! let s = "My *markdown* _text_";
24-
//! let html = format!("{}", Markdown(s));
24+
//! let html = format!("{}", Markdown(s, &[]));
2525
//! // ... something using html
2626
//! ```
2727

0 commit comments

Comments
 (0)