mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-24 12:03:31 +00:00
Smoke test docs generation
This commit is contained in:
parent
87cb840a4e
commit
c32fb96c33
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue