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() {
21
21
. file ( "src/lib.rs" , "" )
22
22
} ) ;
23
23
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 ( ) ;
25
25
git_repo. branch ( branch, & find_head ( ) , false ) . unwrap ( ) ;
26
26
let git_url = git_dep. url ( ) . to_string ( ) ;
27
27
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ fn case() {
20
20
)
21
21
. file ( "src/lib.rs" , "" )
22
22
} ) ;
23
- let find_head = || ( git_repo. head ( ) . unwrap ( ) . peel_to_commit ( ) . unwrap ( ) ) ;
23
+ let find_head = || git_repo. head ( ) . unwrap ( ) . peel_to_commit ( ) . unwrap ( ) ;
24
24
let head = find_head ( ) . id ( ) . to_string ( ) ;
25
25
let git_url = git_dep. url ( ) . to_string ( ) ;
26
26
You can’t perform that action at this time.
0 commit comments