File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -3398,7 +3398,7 @@ You may press ctrl-c to skip waiting; the crate should be available shortly.
3398
3398
}
3399
3399
3400
3400
#[ cargo_test]
3401
- fn package_selection ( ) {
3401
+ fn package_selection_nightly ( ) {
3402
3402
let registry = registry:: RegistryBuilder :: new ( ) . http_api ( ) . build ( ) ;
3403
3403
let p = project ( )
3404
3404
. file (
@@ -3473,6 +3473,24 @@ See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for
3473
3473
"# ] ] )
3474
3474
. with_stdout_data ( str![ [ r#""# ] ] )
3475
3475
. run ( ) ;
3476
+ }
3477
+
3478
+ #[ cargo_test]
3479
+ fn package_selection ( ) {
3480
+ let registry = registry:: RegistryBuilder :: new ( ) . http_api ( ) . build ( ) ;
3481
+ let p = project ( )
3482
+ . file (
3483
+ "Cargo.toml" ,
3484
+ r#"
3485
+ [workspace]
3486
+ members = ["a", "b"]
3487
+ "# ,
3488
+ )
3489
+ . file ( "a/Cargo.toml" , & basic_manifest ( "a" , "0.1.0" ) )
3490
+ . file ( "a/src/lib.rs" , "#[test] fn a() {}" )
3491
+ . file ( "b/Cargo.toml" , & basic_manifest ( "b" , "0.1.0" ) )
3492
+ . file ( "b/src/lib.rs" , "#[test] fn b() {}" )
3493
+ . build ( ) ;
3476
3494
3477
3495
p. cargo ( "publish --no-verify --dry-run --package a --package b" )
3478
3496
. replace_crates_io ( registry. index_url ( ) )
You can’t perform that action at this time.
0 commit comments