aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/theme.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view/src/theme.rs')
-rw-r--r--helix-view/src/theme.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/helix-view/src/theme.rs b/helix-view/src/theme.rs
index 9eae88a8..ead0b9fb 100644
--- a/helix-view/src/theme.rs
+++ b/helix-view/src/theme.rs
@@ -517,10 +517,8 @@ mod tests {
let mut style = Style::default();
let palette = ThemePalette::default();
- if let Value::Table(entries) = table {
- for (_name, value) in entries {
- palette.parse_style(&mut style, value).unwrap();
- }
+ for (_name, value) in table {
+ palette.parse_style(&mut style, value).unwrap();
}
assert_eq!(