fixup! [fix] test: setup gitconfig at repo init

This commit is contained in:
qwjyh 2024-04-26 00:21:42 +09:00
parent 30ae6a6417
commit 607013c649

View file

@ -3,6 +3,8 @@ mod integrated_test {
fs::{DirBuilder, File}, fs::{DirBuilder, File},
io::{BufWriter, Write}, io::{BufWriter, Write},
path::Path, path::Path,
thread,
time::Duration,
}; };
use anyhow::{Ok, Result}; use anyhow::{Ok, Result};
@ -118,6 +120,12 @@ mod integrated_test {
.assert() .assert()
.success(); .success();
let out = std::process::Command::new("git")
.arg("config")
.arg("--get")
.arg("user.email")
.output()?;
panic!("{}", String::from_utf8_lossy(&out.stdout));
Ok(()) Ok(())
} }