Skip to content

Commit

Permalink
consistent_styles test: Ignore TabWidgetImpl
Browse files Browse the repository at this point in the history
We already ignore other internal stuff
  • Loading branch information
ogoffart committed May 4, 2023
1 parent df2f76a commit b098234
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/compiler/tests/consistent_styles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b098234

Please sign in to comment.