From a7d87d6218c998007b7e5d99443349897e384677 Mon Sep 17 00:00:00 2001 From: LoipesMas <46327403+LoipesMas@users.noreply.github.com> Date: Fri, 3 Dec 2021 16:03:58 +0100 Subject: [PATCH] Fix special style test --- src/editor/style.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), ); } }