refactor(ui-egui): move test files to tests/

This commit is contained in:
aiongg
2026-10-26 20:54:02 +00:00
parent c507c7650f
commit f7c246fb61
3 changed files with 2 additions and 2 deletions
-2
View File
@@ -3409,8 +3409,6 @@ fn control_click_as_secondary(events: &mut [egui::Event], held: &mut bool) {
}
}
#[cfg(test)]
mod tests_perf;
/// Every `.rs` file under `dir`, subdirectories included, in a fixed order: tests that scan the
/// sources must keep seeing code that moves into a module directory.
+2
View File
@@ -1,6 +1,8 @@
use super::*;
use egui_kittest::kittest::Queryable;
mod perf;
fn mod_key(key: egui::Key) -> egui::Event {
egui::Event::Key { key, physical_key: None, pressed: true, repeat: false, modifiers: egui::Modifiers::COMMAND }
}