mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-13 21:52:37 +00:00
Add a note about default theme value in test
This commit is contained in:
parent
26d5fa6e43
commit
4a438a0efb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue