File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/testsuite/cargo_add Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ fn case() {
2121 . file ( "src/lib.rs" , "" )
2222 } ) ;
2323 let branch = "dev" ;
24- let find_head = || ( git_repo. head ( ) . unwrap ( ) . peel_to_commit ( ) . unwrap ( ) ) ;
24+ let find_head = || git_repo. head ( ) . unwrap ( ) . peel_to_commit ( ) . unwrap ( ) ;
2525 git_repo. branch ( branch, & find_head ( ) , false ) . unwrap ( ) ;
2626 let git_url = git_dep. url ( ) . to_string ( ) ;
2727
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ fn case() {
2020 )
2121 . file ( "src/lib.rs" , "" )
2222 } ) ;
23- let find_head = || ( git_repo. head ( ) . unwrap ( ) . peel_to_commit ( ) . unwrap ( ) ) ;
23+ let find_head = || git_repo. head ( ) . unwrap ( ) . peel_to_commit ( ) . unwrap ( ) ;
2424 let head = find_head ( ) . id ( ) . to_string ( ) ;
2525 let git_url = git_dep. url ( ) . to_string ( ) ;
2626
You can’t perform that action at this time.
0 commit comments