From 6c0d97d9db0280455e470b820cea3a3536f32ff3 Mon Sep 17 00:00:00 2001 From: Matt White Date: Sat, 11 Jan 2025 20:40:25 -0700 Subject: [PATCH] test: fix broken tests --- src/renamer/formatter.rs | 2 +- src/renamer/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renamer/formatter.rs b/src/renamer/formatter.rs index 369d9cf..4784149 100644 --- a/src/renamer/formatter.rs +++ b/src/renamer/formatter.rs @@ -199,7 +199,7 @@ mod tests { title: String::from("Title"), initial_title: String::from("Title"), is_active: false, - is_fullscreen: FullscreenMode::None, + is_fullscreen: FullscreenMode::Fullscreen, matched_rule: Inactive(Default(String::from("DefaultIcon"))), is_dedup_inactive_fullscreen: false, }; diff --git a/src/renamer/mod.rs b/src/renamer/mod.rs index aa6d150..62c80a3 100644 --- a/src/renamer/mod.rs +++ b/src/renamer/mod.rs @@ -375,7 +375,7 @@ mod tests { assert_eq!(client1 == client2, true); assert_eq!(client4 == client5, true); - assert_eq!(client1 == client4, false); + assert_eq!(client1 == client4, true); assert_eq!(client1 == client3, false); assert_eq!(client5 == client6, false); }