@@ -32,7 +32,7 @@ fn exported_priv_warning() {
32
32
)
33
33
. build ( ) ;
34
34
35
- p. cargo ( "build --message-format=short" )
35
+ p. cargo ( "check --message-format=short" )
36
36
. masquerade_as_nightly_cargo ( & [ "public-dependency" ] )
37
37
. with_stderr_contains (
38
38
"\
@@ -71,15 +71,15 @@ fn exported_pub_dep() {
71
71
)
72
72
. build ( ) ;
73
73
74
- p. cargo ( "build --message-format=short" )
74
+ p. cargo ( "check --message-format=short" )
75
75
. masquerade_as_nightly_cargo ( & [ "public-dependency" ] )
76
76
. with_stderr (
77
77
"\
78
78
[UPDATING] `[..]` index
79
79
[DOWNLOADING] crates ...
80
80
[DOWNLOADED] pub_dep v0.1.0 ([..])
81
- [COMPILING ] pub_dep v0.1.0
82
- [COMPILING ] foo v0.0.1 ([CWD])
81
+ [CHECKING ] pub_dep v0.1.0
82
+ [CHECKING ] foo v0.0.1 ([CWD])
83
83
[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
84
84
" ,
85
85
)
@@ -98,7 +98,7 @@ pub fn requires_nightly_cargo() {
98
98
. file ( "src/lib.rs" , "" )
99
99
. build ( ) ;
100
100
101
- p. cargo ( "build --message-format=short" )
101
+ p. cargo ( "check --message-format=short" )
102
102
. with_status ( 101 )
103
103
. with_stderr (
104
104
"\
@@ -134,7 +134,7 @@ fn requires_feature() {
134
134
. file ( "src/lib.rs" , "" )
135
135
. build ( ) ;
136
136
137
- p. cargo ( "build --message-format=short" )
137
+ p. cargo ( "check --message-format=short" )
138
138
. masquerade_as_nightly_cargo ( & [ "public-dependency" ] )
139
139
. with_status ( 101 )
140
140
. with_stderr (
@@ -184,7 +184,7 @@ fn pub_dev_dependency() {
184
184
)
185
185
. build ( ) ;
186
186
187
- p. cargo ( "build --message-format=short" )
187
+ p. cargo ( "check --message-format=short" )
188
188
. masquerade_as_nightly_cargo ( & [ "public-dependency" ] )
189
189
. with_status ( 101 )
190
190
. with_stderr (
0 commit comments