@@ -51,7 +51,7 @@ fn features() {
51
51
52
52
p. cargo ( "check -v" )
53
53
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "f_a" "f_b" ) )
54
- . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
54
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs,test " ) )
55
55
. run ( ) ;
56
56
}
57
57
@@ -81,7 +81,7 @@ fn features_with_deps() {
81
81
82
82
p. cargo ( "check -v" )
83
83
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "f_a" "f_b" ) )
84
- . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
84
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs,test " ) )
85
85
. run ( ) ;
86
86
}
87
87
@@ -112,7 +112,7 @@ fn features_with_opt_deps() {
112
112
113
113
p. cargo ( "check -v" )
114
114
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "bar" "default" "f_a" "f_b" ) )
115
- . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
115
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs,test " ) )
116
116
. run ( ) ;
117
117
}
118
118
@@ -142,7 +142,7 @@ fn features_with_namespaced_features() {
142
142
143
143
p. cargo ( "check -v" )
144
144
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "f_a" "f_b" ) )
145
- . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
145
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs,test " ) )
146
146
. run ( ) ;
147
147
}
148
148
@@ -232,7 +232,7 @@ fn well_known_names_values() {
232
232
233
233
p. cargo ( "check -v" )
234
234
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with) )
235
- . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
235
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs,test " ) )
236
236
. run ( ) ;
237
237
}
238
238
@@ -257,7 +257,7 @@ fn features_test() {
257
257
258
258
p. cargo ( "test -v" )
259
259
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "f_a" "f_b" ) )
260
- . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
260
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs,test " ) )
261
261
. run ( ) ;
262
262
}
263
263
@@ -284,8 +284,8 @@ fn features_doctest() {
284
284
p. cargo ( "test -v --doc" )
285
285
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "default" "f_a" "f_b" ) )
286
286
. with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "feature" with "default" "f_a" "f_b" ) )
287
- . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
288
- . with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "docsrs" ) )
287
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs,test " ) )
288
+ . with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "docsrs,test " ) )
289
289
. run ( ) ;
290
290
}
291
291
@@ -298,7 +298,7 @@ fn well_known_names_values_test() {
298
298
299
299
p. cargo ( "test -v" )
300
300
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with) )
301
- . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
301
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs,test " ) )
302
302
. run ( ) ;
303
303
}
304
304
@@ -312,8 +312,8 @@ fn well_known_names_values_doctest() {
312
312
p. cargo ( "test -v --doc" )
313
313
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with) )
314
314
. with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "feature" with) )
315
- . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
316
- . with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "docsrs" ) )
315
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs,test " ) )
316
+ . with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "docsrs,test " ) )
317
317
. run ( ) ;
318
318
}
319
319
@@ -339,7 +339,7 @@ fn features_doc() {
339
339
340
340
p. cargo ( "doc -v" )
341
341
. with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "feature" with "default" "f_a" "f_b" ) )
342
- . with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "docsrs" ) )
342
+ . with_stderr_contains ( x ! ( "rustdoc" => "cfg" of "docsrs,test " ) )
343
343
. run ( ) ;
344
344
}
345
345
@@ -366,7 +366,7 @@ fn build_script_feedback() {
366
366
367
367
p. cargo ( "check -v" )
368
368
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "foo" ) )
369
- . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
369
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs,test " ) )
370
370
. run ( ) ;
371
371
}
372
372
@@ -442,7 +442,7 @@ fn build_script_override() {
442
442
p. cargo ( "check -v" )
443
443
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "foo" ) )
444
444
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with) )
445
- . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) )
445
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs,test " ) )
446
446
. run ( ) ;
447
447
}
448
448
@@ -877,7 +877,7 @@ fn config_features_and_build_script() {
877
877
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "foo" ) ) // from build.rs
878
878
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "bar" ) ) // from config
879
879
. with_stderr_contains ( x ! ( "rustc" => "cfg" of "feature" with "json" "serde" ) ) // features
880
- . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs" ) ) // Cargo well known
880
+ . with_stderr_contains ( x ! ( "rustc" => "cfg" of "docsrs,test " ) ) // Cargo well known
881
881
. run ( ) ;
882
882
}
883
883
0 commit comments