Smoke test docs generation

This commit is contained in:
Aleksey Kladov 2020-10-06 15:17:16 +02:00
parent 87cb840a4e
commit c32fb96c33

View file

@ -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();