mirror of
https://github.com/qwjyh/xdbm
synced 2024-11-24 15:41: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},
|
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(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue