Merge #6149
6149: Smoke test docs generation r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
9507a01e9e
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…
Add table
Add a link
Reference in a new issue