From 607013c6499b528db73a68547b7cec06a2c0c01f Mon Sep 17 00:00:00 2001 From: qwjyh Date: Fri, 26 Apr 2024 00:21:42 +0900 Subject: [PATCH] fixup! [fix] test: setup gitconfig at repo init --- tests/cli.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/cli.rs b/tests/cli.rs index b1b8fe9..f3cd9d1 100644 --- a/tests/cli.rs +++ b/tests/cli.rs @@ -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(()) }