File tree 2 files changed +9
-2
lines changed
tests/testsuite/cargo_remove/gc_patch
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ fn case() {
23
23
} )
24
24
. url ( ) ;
25
25
26
+ let git_project3 = git:: new ( "bar3" , |project| {
27
+ project
28
+ . file ( "Cargo.toml" , & basic_manifest ( "bar" , "0.1.0" ) )
29
+ . file ( "src/lib.rs" , "" )
30
+ } )
31
+ . url ( ) ;
32
+
26
33
let in_project = project ( )
27
34
. file (
28
35
"Cargo.toml" ,
@@ -38,7 +45,7 @@ fn case() {
38
45
bar = {{ git = \" {git_project1}\" }}\n \
39
46
\n \
40
47
[patch.\" {git_project1}\" ]\n \
41
- bar = {{ git = \" {git_project2 }\" }}\n \
48
+ bar = {{ git = \" {git_project3 }\" }}\n \
42
49
\n \
43
50
[patch.crates-io]\n \
44
51
bar = {{ git = \" {git_project2}\" }}\n ",
Original file line number Diff line number Diff line change 1
1
Removing bar from dependencies
2
- Updating git repository `[ROOTURL]/bar2 `
2
+ Updating git repository `[ROOTURL]/bar[..] `
3
3
Updating `dummy-registry` index
You can’t perform that action at this time.
0 commit comments