mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
feat!: Update colors of package and php modules (#782)
This commit is contained in:
@@ -33,7 +33,7 @@ fn folder_with_composer_file() -> io::Result<()> {
|
||||
.output()?;
|
||||
let actual = String::from_utf8(output.stdout).unwrap();
|
||||
|
||||
let expected = format!("via {} ", Color::Red.bold().paint("🐘 v7.3.8"));
|
||||
let expected = format!("via {} ", Color::Fixed(147).bold().paint("🐘 v7.3.8"));
|
||||
assert_eq!(expected, actual);
|
||||
Ok(())
|
||||
}
|
||||
@@ -50,7 +50,7 @@ fn folder_with_php_file() -> io::Result<()> {
|
||||
.output()?;
|
||||
let actual = String::from_utf8(output.stdout).unwrap();
|
||||
|
||||
let expected = format!("via {} ", Color::Red.bold().paint("🐘 v7.3.8"));
|
||||
let expected = format!("via {} ", Color::Fixed(147).bold().paint("🐘 v7.3.8"));
|
||||
assert_eq!(expected, actual);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user