mirror of
https://github.com/qwjyh/xdbm
synced 2024-11-24 23:51:04 +09:00
fixup! [fix] test: setup gitconfig at repo init
This commit is contained in:
parent
462c34cf96
commit
30ae6a6417
1 changed files with 6 additions and 5 deletions
11
tests/cli.rs
11
tests/cli.rs
|
@ -1,7 +1,8 @@
|
|||
mod integrated_test {
|
||||
use std::{
|
||||
fs::{DirBuilder, File},
|
||||
io::{BufWriter, Write}, path::Path,
|
||||
io::{BufWriter, Write},
|
||||
path::Path,
|
||||
};
|
||||
|
||||
use anyhow::{Ok, Result};
|
||||
|
@ -17,10 +18,10 @@ mod integrated_test {
|
|||
let mut buf = BufWriter::new(f);
|
||||
buf.write_all(
|
||||
r#"
|
||||
[user]
|
||||
email = "test@example.com"
|
||||
name = "testuser"
|
||||
"#
|
||||
[user]
|
||||
email = "test@example.com"
|
||||
name = "testuser"
|
||||
"#
|
||||
.as_bytes(),
|
||||
)?;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue