fix: merge themes from multiple locations
This commit is contained in:
parent
1be7d4e73b
commit
92f759fd09
4 changed files with 51 additions and 22 deletions
|
|
@ -88,11 +88,18 @@ mod test {
|
|||
|
||||
#[test]
|
||||
fn should_get_theme_parents() {
|
||||
let theme = THEMES.get("Arc").unwrap();
|
||||
let parents = theme.inherits();
|
||||
for theme in THEMES.get("Arc").unwrap() {
|
||||
let parents = theme.inherits();
|
||||
|
||||
assert_that!(parents).does_not_contain("hicolor");
|
||||
assert_that!(parents).does_not_contain("hicolor");
|
||||
|
||||
assert_that!(parents).is_equal_to(vec!["Moka", "Faba", "elementary", "Adwaita", "gnome"]);
|
||||
assert_that!(parents).is_equal_to(vec![
|
||||
"Moka",
|
||||
"Faba",
|
||||
"elementary",
|
||||
"Adwaita",
|
||||
"gnome",
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue