Skip to content

Commit 9507a01

Browse files
bors[bot]matklad
andauthored
Merge #6149
6149: Smoke test docs generation r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2 parents 87cb840 + c32fb96 commit 9507a01

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

xtask/tests/tidy.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ fn check_code_formatting() {
3737
}
3838
}
3939

40+
#[test]
41+
fn smoke_test_docs_generation() {
42+
// We don't commit docs to the repo, so we can just overwrite in tests.
43+
codegen::generate_assists_docs(Mode::Overwrite).unwrap();
44+
codegen::generate_feature_docs(Mode::Overwrite).unwrap();
45+
}
46+
4047
#[test]
4148
fn rust_files_are_tidy() {
4249
let mut tidy_docs = TidyDocs::default();

0 commit comments

Comments
 (0)