File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,10 @@ fn basic() {
246
246
p. cargo ( "build" ) . build_std ( & setup) . target_host ( ) . run ( ) ;
247
247
p. cargo ( "run" ) . build_std ( & setup) . target_host ( ) . run ( ) ;
248
248
p. cargo ( "test" ) . build_std ( & setup) . target_host ( ) . run ( ) ;
249
+ p. cargo ( "check -v" ) . build_std ( & setup) . run ( ) ;
250
+ p. cargo ( "build" ) . build_std ( & setup) . run ( ) ;
251
+ p. cargo ( "run" ) . build_std ( & setup) . run ( ) ;
252
+ p. cargo ( "test" ) . build_std ( & setup) . run ( ) ;
249
253
}
250
254
251
255
#[ cargo_test]
@@ -414,7 +418,7 @@ fn target_proc_macro() {
414
418
)
415
419
. build ( ) ;
416
420
417
- p. cargo ( "build -v" ) . build_std ( & setup) . target_host ( ) . run ( ) ;
421
+ p. cargo ( "build -v" ) . build_std ( & setup) . run ( ) ;
418
422
}
419
423
420
424
// We already have `basic` which uses `proc_macro::custom_api()`. This case attempts to use
@@ -444,10 +448,7 @@ fn non_proc_macro_crate_uses_non_sysroot_proc_macro() {
444
448
"# ,
445
449
)
446
450
. build ( ) ;
447
- p. cargo ( "build -v" )
448
- . build_std ( & setup)
449
- . target_host ( )
450
- . run_expect_error ( ) ;
451
+ p. cargo ( "build -v" ) . build_std ( & setup) . run_expect_error ( ) ;
451
452
}
452
453
453
454
#[ cargo_test]
@@ -506,7 +507,6 @@ fn intergrated_proc_macro() {
506
507
507
508
p. cargo ( "run -v" )
508
509
. build_std ( & setup)
509
- . target_host ( )
510
510
. with_stdout_contains ( "The answer is 42" )
511
511
. run ( ) ;
512
512
}
You can’t perform that action at this time.
0 commit comments