mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-14 04:43:42 +01:00
Adds four tests to crates/komorebi-config/tests/rule_matching.rs next to the KDE/macOS ones moved there: a Windows exe rule names the program with its extension (mirrors rules_exe, where platform.exe_id adds `.exe` on Windows) and the id without it does not match; a regex id is looked up as written on Windows and with `.exe` removed elsewhere; the whole grid of kinds x strategies x ids agrees between RuleQuirks::WINDOWS and UNIX for a window with one class (mirrors rules_class); a negated class rule for a window of another class and for one with no class. Each names the e2e check it mirrors. docs/dev/e2e-to-unit.md points at the shared file. Verified: cargo test -p komorebi-config --test rule_matching (16 passed); bare cargo clippy --locked --all-targets -D warnings clean.