diff --git a/src/editor/style.rs b/src/editor/style.rs index f673a06..4192860 100644 --- a/src/editor/style.rs +++ b/src/editor/style.rs @@ -144,7 +144,7 @@ mod tests { style.colors.special = None; assert_eq!( style.special(&DEFAULT_COLORS), - DEFAULT_COLORS.special.unwrap() + style.foreground(&DEFAULT_COLORS), ); } }