From c0dbb769b53010944e42e04b554d996f302f412b Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Thu, 11 Jun 2026 19:01:24 +0800 Subject: Refactor test-readme into generic docs code block verifier --- dev_tools/src/bin/ci.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dev_tools/src/bin/ci.rs') diff --git a/dev_tools/src/bin/ci.rs b/dev_tools/src/bin/ci.rs index 21763d1..ce8f058 100644 --- a/dev_tools/src/bin/ci.rs +++ b/dev_tools/src/bin/ci.rs @@ -73,7 +73,7 @@ fn ci() -> Result<(), i32> { clippy_all()?; test_all()?; test_examples()?; - test_readme()?; + test_docs_code_blocks()?; docs_refresh()?; run_cmd!("git add --renormalize .")?; @@ -86,9 +86,9 @@ fn test_examples() -> Result<(), i32> { run_cmd!("cargo run --manifest-path dev_tools/Cargo.toml --bin test-examples") } -fn test_readme() -> Result<(), i32> { - println_cargo_style!("Testing: readme code blocks"); - run_cmd!("cargo run --manifest-path dev_tools/Cargo.toml --bin test-readme") +fn test_docs_code_blocks() -> Result<(), i32> { + println_cargo_style!("Testing: documentation code blocks"); + run_cmd!("cargo run --manifest-path dev_tools/Cargo.toml --bin test-all-markdown-code") } fn build_all() -> Result<(), i32> { -- cgit