File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ fn broken_path_override_warns() {
51
51
. file ( ".cargo/config" , r#"paths = ["a2"]"# )
52
52
. build ( ) ;
53
53
54
- p. cargo ( "build " )
54
+ p. cargo ( "check " )
55
55
. with_stderr (
56
56
"\
57
57
[UPDATING] [..]
@@ -72,9 +72,9 @@ https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html
72
72
73
73
[DOWNLOADING] crates ...
74
74
[DOWNLOADED] [..]
75
- [COMPILING ] [..]
76
- [COMPILING ] [..]
77
- [COMPILING ] [..]
75
+ [CHECKING ] [..]
76
+ [CHECKING ] [..]
77
+ [CHECKING ] [..]
78
78
[FINISHED] [..]
79
79
" ,
80
80
)
@@ -118,7 +118,7 @@ fn override_to_path_dep() {
118
118
. file ( ".cargo/config" , r#"paths = ["bar"]"# )
119
119
. build ( ) ;
120
120
121
- p. cargo ( "build " ) . run ( ) ;
121
+ p. cargo ( "check " ) . run ( ) ;
122
122
}
123
123
124
124
#[ cargo_test]
@@ -168,11 +168,11 @@ fn paths_ok_with_optional() {
168
168
. file ( ".cargo/config" , r#"paths = ["bar2"]"# )
169
169
. build ( ) ;
170
170
171
- p. cargo ( "build " )
171
+ p. cargo ( "check " )
172
172
. with_stderr (
173
173
"\
174
- [COMPILING ] bar v0.1.0 ([..]bar2)
175
- [COMPILING ] foo v0.0.1 ([..])
174
+ [CHECKING ] bar v0.1.0 ([..]bar2)
175
+ [CHECKING ] foo v0.0.1 ([..])
176
176
[FINISHED] [..]
177
177
" ,
178
178
)
@@ -215,7 +215,7 @@ fn paths_add_optional_bad() {
215
215
. file ( ".cargo/config" , r#"paths = ["bar2"]"# )
216
216
. build ( ) ;
217
217
218
- p. cargo ( "build " )
218
+ p. cargo ( "check " )
219
219
. with_stderr_contains (
220
220
"\
221
221
warning: path override for crate `bar` has altered the original list of
You can’t perform that action at this time.
0 commit comments