window management library
git clone https://git.lucas.co/cce-window-manager.git
fix: finish the cce-mail rename in the query test's own queries
dee38c1 renamed the fixtures but left the assertions querying the old
name, so exact_beats_substring_and_first_best_wins failed at HEAD.
Co-Authored-By: Claude <[email protected]>
src/query.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/query.rs b/src/query.rs
index 2aa6fa3..024e1e3 100644
--- a/src/query.rs
+++ b/src/query.rs
@@ -80,9 +80,9 @@ mod tests {
];
// Exact match at position 1 outranks the earlier substring match;
// the later equal-score exact match doesn't displace it.
- assert_eq!(find_window(&c, "CCE-Email"), Some(1));
+ assert_eq!(find_window(&c, "CCE-Mail"), Some(1));
// Pure substring query: first container wins.
- assert_eq!(find_window(&c, "email"), Some(0));
+ assert_eq!(find_window(&c, "mail"), Some(0));
}
#[test]