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

This commit is contained in:
qwjyh 2024-04-25 17:01:34 +09:00
parent 462c34cf96
commit 30ae6a6417

View file

@ -1,7 +1,8 @@
mod integrated_test { mod integrated_test {
use std::{ use std::{
fs::{DirBuilder, File}, fs::{DirBuilder, File},
io::{BufWriter, Write}, path::Path, io::{BufWriter, Write},
path::Path,
}; };
use anyhow::{Ok, Result}; use anyhow::{Ok, Result};
@ -17,10 +18,10 @@ mod integrated_test {
let mut buf = BufWriter::new(f); let mut buf = BufWriter::new(f);
buf.write_all( buf.write_all(
r#" r#"
[user] [user]
email = "test@example.com" email = "test@example.com"
name = "testuser" name = "testuser"
"# "#
.as_bytes(), .as_bytes(),
)?; )?;
} }