mirror of
https://github.com/qwjyh/xdbm
synced 2024-11-24 07:31:05 +09:00
fixup! [fix] test: setup gitconfig at repo init
This commit is contained in:
parent
30ae6a6417
commit
607013c649
1 changed files with 8 additions and 0 deletions
|
@ -3,6 +3,8 @@ mod integrated_test {
|
|||
fs::{DirBuilder, File},
|
||||
io::{BufWriter, Write},
|
||||
path::Path,
|
||||
thread,
|
||||
time::Duration,
|
||||
};
|
||||
|
||||
use anyhow::{Ok, Result};
|
||||
|
@ -118,6 +120,12 @@ mod integrated_test {
|
|||
.assert()
|
||||
.success();
|
||||
|
||||
let out = std::process::Command::new("git")
|
||||
.arg("config")
|
||||
.arg("--get")
|
||||
.arg("user.email")
|
||||
.output()?;
|
||||
panic!("{}", String::from_utf8_lossy(&out.stdout));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue