This commit is contained in:
f10et 2023-08-14 11:17:09 +01:00
parent 5a5a5f77ab
commit 16bc3e924e

View File

@ -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")?;