File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -297,13 +297,25 @@ fn clean_custom_dirname() {
297
297
298
298
p. cargo ( "build --release" )
299
299
. masquerade_as_nightly_cargo ( )
300
+ . with_stdout ( "" )
301
+ . with_stderr (
302
+ "\
303
+ [COMPILING] foo v0.0.1 ([..])
304
+ [FINISHED] release [optimized] target(s) in [..]
305
+ " ,
306
+ )
300
307
. run ( ) ;
301
308
302
309
p. cargo ( "clean -p foo" ) . masquerade_as_nightly_cargo ( ) . run ( ) ;
303
310
304
311
p. cargo ( "build --release" )
305
312
. masquerade_as_nightly_cargo ( )
306
313
. with_stdout ( "" )
314
+ . with_stderr (
315
+ "\
316
+ [FINISHED] release [optimized] target(s) in [..]
317
+ " ,
318
+ )
307
319
. run ( ) ;
308
320
309
321
p. cargo ( "clean -p foo --release" )
@@ -320,7 +332,16 @@ fn clean_custom_dirname() {
320
332
)
321
333
. run ( ) ;
322
334
323
- p. cargo ( "build" ) . masquerade_as_nightly_cargo ( ) . run ( ) ;
335
+ p. cargo ( "build" )
336
+ . masquerade_as_nightly_cargo ( )
337
+ . with_stdout ( "" )
338
+ . with_stderr (
339
+ "\
340
+ [COMPILING] foo v0.0.1 ([..])
341
+ [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
342
+ " ,
343
+ )
344
+ . run ( ) ;
324
345
325
346
p. cargo ( "build -Z unstable-options --profile=other" )
326
347
. masquerade_as_nightly_cargo ( )
You can’t perform that action at this time.
0 commit comments