mirror of
https://github.com/starship/starship.git
synced 2024-10-05 01:43:46 +02:00
fmt
This commit is contained in:
parent
5a5a5f77ab
commit
16bc3e924e
@ -138,7 +138,7 @@ mod tests {
|
||||
|
||||
let actual = render_metrics(path);
|
||||
|
||||
let expected = Some(format!("{} ", Color::Green.bold().paint("+1"), ));
|
||||
let expected = Some(format!("{} ", Color::Green.bold().paint("+1"),));
|
||||
|
||||
assert_eq!(expected, actual);
|
||||
repo_dir.close()
|
||||
@ -297,7 +297,7 @@ mod tests {
|
||||
|
||||
fn run_git_cmd<A, S>(args: A, dir: Option<&Path>, should_succeed: bool) -> io::Result<()>
|
||||
where
|
||||
A: IntoIterator<Item=S>,
|
||||
A: IntoIterator<Item = S>,
|
||||
S: AsRef<OsStr>,
|
||||
{
|
||||
let mut command = create_command("git")?;
|
||||
|
Loading…
Reference in New Issue
Block a user