From 30ae6a6417a6810be70bbc04d2f581c60a5d63ac Mon Sep 17 00:00:00 2001 From: qwjyh Date: Thu, 25 Apr 2024 17:01:34 +0900 Subject: [PATCH] fixup! [fix] test: setup gitconfig at repo init --- tests/cli.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/cli.rs b/tests/cli.rs index de3bf6e..b1b8fe9 100644 --- a/tests/cli.rs +++ b/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(), )?; }