From 51fd4207ea7924df861e8258a05f05d3f092dae5 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Sat, 4 May 2024 15:03:02 +0900 Subject: [PATCH] fixup! fix test to fetch refspecs from the git2 --- tests/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cli.rs b/tests/cli.rs index 3bf833f..45bc945 100644 --- a/tests/cli.rs +++ b/tests/cli.rs @@ -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