mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-14 22:22:26 +00:00
Fix the CI tests
This commit is contained in:
parent
e63d7b89d1
commit
811b86581e
2 changed files with 3 additions and 3 deletions
|
@ -480,7 +480,7 @@ mod test {
|
||||||
let icon = Icons::new(Theme::Fancy, " ".to_string());
|
let icon = Icons::new(Theme::Fancy, " ".to_string());
|
||||||
let icon_str = icon.get(&meta.name);
|
let icon_str = icon.get(&meta.name);
|
||||||
|
|
||||||
assert_eq!(icon_str, format!("{}{}", "\u{f115}", icon.icon_separator)); //
|
assert_eq!(icon_str, format!("{}{}", "\u{e5ff}", icon.icon_separator)); //
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -504,7 +504,7 @@ mod test {
|
||||||
let icon = Icons::new(Theme::Fancy, " ".to_string());
|
let icon = Icons::new(Theme::Fancy, " ".to_string());
|
||||||
let icon_str = icon.get(&meta.name);
|
let icon_str = icon.get(&meta.name);
|
||||||
|
|
||||||
assert_eq!(icon_str, format!("{}{}", "\u{f115}", icon.icon_separator)); //
|
assert_eq!(icon_str, format!("{}{}", "\u{e5ff}", icon.icon_separator)); //
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -269,7 +269,7 @@ mod test {
|
||||||
let colors = Colors::new(color::ThemeOption::NoLscolors);
|
let colors = Colors::new(color::ThemeOption::NoLscolors);
|
||||||
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
" directory".to_string().with(Color::AnsiValue(33)),
|
" directory".to_string().with(Color::AnsiValue(33)),
|
||||||
meta.name.render(
|
meta.name.render(
|
||||||
&colors,
|
&colors,
|
||||||
&icons,
|
&icons,
|
||||||
|
|
Loading…
Reference in a new issue