From 4a438a0efbf659e44226e9ff01d2c496f4222e07 Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Sun, 16 Jan 2022 12:40:54 +0530 Subject: [PATCH] Add a note about default theme value in test --- src/color/theme.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color/theme.rs b/src/color/theme.rs index 94b0b60..4d31174 100644 --- a/src/color/theme.rs +++ b/src/color/theme.rs @@ -345,7 +345,7 @@ mod tests { fn test_empty_theme_return_default() { // Must contain one field at least // ref https://github.com/dtolnay/serde-yaml/issues/86 - let empty_theme = Theme::with_yaml("user: 230".into()).unwrap(); + let empty_theme = Theme::with_yaml("user: 230".into()).unwrap(); // 230 is the default value let default_theme = Theme::default_dark(); assert_eq!(empty_theme, default_theme); }