Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

refactor(tools): move text.rs tests to text/tests.rs

aiongge8417d6c6939
diff --git a/crates/tools/src/text.rs b/crates/tools/src/text.rs
index 5e29d69fe..12e9e80bf 100644
--- a/crates/tools/src/text.rs
+++ b/crates/tools/src/text.rs
@@ -1587,5 +1587,4 @@ fn ime_surrounding_window(
}
#[cfg(test)]
-#[path = "text_tests.rs"]
mod tests;
diff --git a/crates/tools/src/text_tests.rs b/crates/tools/src/text/tests.rs
similarity index 100%
rename from crates/tools/src/text_tests.rs
rename to crates/tools/src/text/tests.rs