From b098234ad4df29aa423d088e568f69969995b623 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Thu, 4 May 2023 08:01:48 +0200 Subject: [PATCH] consistent_styles test: Ignore TabWidgetImpl We already ignore other internal stuff --- internal/compiler/tests/consistent_styles.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/compiler/tests/consistent_styles.rs b/internal/compiler/tests/consistent_styles.rs index 77edfaa5e41..f225fb41e91 100644 --- a/internal/compiler/tests/consistent_styles.rs +++ b/internal/compiler/tests/consistent_styles.rs @@ -135,7 +135,8 @@ fn compare_styles(base: &Style, mut other: Style, style_name: &str) -> bool { let mut ok = true; for (compo_name, c1) in base.components.iter() { // These more or less internals component can have different properties - let ignore_extra = matches!(compo_name.as_str(), "TabImpl" | "StyleMetrics"); + let ignore_extra = + matches!(compo_name.as_str(), "TabImpl" | "TabWidgetImpl" | "StyleMetrics"); if let Some(mut c2) = other.components.remove(compo_name) { for (prop_name, p1) in c1.properties.iter() { if let Some(p2) = c2.properties.remove(prop_name) {