From cbb670962b6715540adce3bc905f3594a78bebbf Mon Sep 17 00:00:00 2001 From: aiongg Date: Mon, 23 Nov 2026 15:28:07 +0000 Subject: [PATCH] Engine split step 7: the History Brush format checks' tests move with them to paint's history_source --- .../src}/history_brush_format_mismatch_tests.rs | 0 crates/engine-paint/src/history_source.rs | 4 ++++ 2 files changed, 4 insertions(+) rename crates/{engine-core/src/cmd => engine-paint/src}/history_brush_format_mismatch_tests.rs (100%) diff --git a/crates/engine-core/src/cmd/history_brush_format_mismatch_tests.rs b/crates/engine-paint/src/history_brush_format_mismatch_tests.rs similarity index 100% rename from crates/engine-core/src/cmd/history_brush_format_mismatch_tests.rs rename to crates/engine-paint/src/history_brush_format_mismatch_tests.rs diff --git a/crates/engine-paint/src/history_source.rs b/crates/engine-paint/src/history_source.rs index 12b626000a..ab82fbf3b0 100644 --- a/crates/engine-paint/src/history_source.rs +++ b/crates/engine-paint/src/history_source.rs @@ -65,3 +65,7 @@ pub fn refuse_other_format(st: &DocState, source: &Document) -> Result<()> { } Ok(()) } + +#[cfg(test)] +#[path = "history_brush_format_mismatch_tests.rs"] +mod history_brush_format_mismatch_tests;