summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbin Simon <mail@meain.io>2022-01-16 12:40:54 +0530
committerAbin Simon <abinsimon10@gmail.com>2022-01-16 12:47:35 +0530
commit4a438a0efbf659e44226e9ff01d2c496f4222e07 (patch)
tree154a983ea4a75adf61bb85d985f1ffb2d30d607f
parent26d5fa6e438357ce3b8f9f5939b07812df38af48 (diff)
Add a note about default theme value in test
-rw-r--r--src/color/theme.rs2
1 files changed, 1 insertions, 1 deletions
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);
}