From f151f54df483ea07737c4e7ded4875eb37937a85 Mon Sep 17 00:00:00 2001 From: Rudxain <76864299+Rudxain@users.noreply.github.com> Date: Sat, 7 Dec 2024 23:57:05 -0400 Subject: [PATCH] test(theme): skip comparing `palette.bright.surface` --- src/gui/style.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/style.rs b/src/gui/style.rs index 1f15699..deaa193 100644 --- a/src/gui/style.rs +++ b/src/gui/style.rs @@ -599,7 +599,9 @@ mod tests { assert_ne!(palette.normal.primary, Color::BLACK); assert_ne!(palette.normal.surface, Color::BLACK); assert_ne!(palette.bright.primary, Color::BLACK); - assert_ne!(palette.bright.surface, Color::BLACK); + // if `LIGHT` then this can be `BLACK` + // https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation/pull/730#issuecomment-2525405134 + //assert_ne!(palette.bright.surface, Color::BLACK); assert_ne!(palette.normal.error, Color::BLACK); assert_ne!(palette.bright.error, Color::BLACK); }