mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
Smoke test docs generation
This commit is contained in:
parent
87cb840a4e
commit
c32fb96c33
@ -37,6 +37,13 @@ fn check_code_formatting() {
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn smoke_test_docs_generation() {
|
||||
// We don't commit docs to the repo, so we can just overwrite in tests.
|
||||
codegen::generate_assists_docs(Mode::Overwrite).unwrap();
|
||||
codegen::generate_feature_docs(Mode::Overwrite).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn rust_files_are_tidy() {
|
||||
let mut tidy_docs = TidyDocs::default();
|
||||
|
Loading…
Reference in New Issue
Block a user