fixup! fix test to fetch refspecs from the git2

This commit is contained in:
qwjyh 2024-05-04 15:03:02 +09:00
parent c9eb34aa69
commit 51fd4207ea

View file

@ -151,7 +151,7 @@ mod integrated_test {
let upstream_name = "remote";
let mut repo_1_remote =
repo_1.remote(upstream_name, bare_repo_dir.path().to_str().unwrap())?;
repo_1_remote.push(&[repo_1.head().unwrap().name().unwrap()] as &[&str], None)?;
repo_1_remote.push(&[repo_1.head().unwrap().name().unwrap()], None)?;
trace!("bare repo {:?}", bare_repo_dir.display());
println!("{:?}", bare_repo_dir.read_dir()?);
// set up upstream branch