@@ -3492,25 +3492,25 @@ fn package_selection() {
3492
3492
. file ( "b/src/lib.rs" , "#[test] fn b() {}" )
3493
3493
. build ( ) ;
3494
3494
3495
- p. cargo ( "publish --no-verify --dry-run --package a --package b " )
3495
+ p. cargo ( "publish --no-verify --dry-run --workspace " )
3496
3496
. replace_crates_io ( registry. index_url ( ) )
3497
3497
. with_status ( 101 )
3498
3498
. with_stderr_data ( str![ [ r#"
3499
- [ERROR] the `--package (multiple occurrences) ` flag is unstable, and only available on the nightly channel of Cargo, but this is the `stable` channel
3499
+ [ERROR] the `--workspace ` flag is unstable, and only available on the nightly channel of Cargo, but this is the `stable` channel
3500
3500
See https://doc.rust-lang.org/book/appendix-07-nightly-rust.html for more information about Rust release channels.
3501
- See https://github.com/rust-lang/cargo/issues/10948 for more information about the `--package (multiple occurrences) ` flag.
3501
+ See https://github.com/rust-lang/cargo/issues/10948 for more information about the `--workspace ` flag.
3502
3502
3503
3503
"# ] ] )
3504
3504
. with_stdout_data ( str![ [ r#""# ] ] )
3505
3505
. run ( ) ;
3506
3506
3507
- p. cargo ( "publish --no-verify --dry-run --workspace " )
3507
+ p. cargo ( "publish --no-verify --dry-run --package a --package b " )
3508
3508
. replace_crates_io ( registry. index_url ( ) )
3509
3509
. with_status ( 101 )
3510
3510
. with_stderr_data ( str![ [ r#"
3511
- [ERROR] the `--workspace ` flag is unstable, and only available on the nightly channel of Cargo, but this is the `stable` channel
3511
+ [ERROR] the `--package (multiple occurrences) ` flag is unstable, and only available on the nightly channel of Cargo, but this is the `stable` channel
3512
3512
See https://doc.rust-lang.org/book/appendix-07-nightly-rust.html for more information about Rust release channels.
3513
- See https://github.com/rust-lang/cargo/issues/10948 for more information about the `--workspace ` flag.
3513
+ See https://github.com/rust-lang/cargo/issues/10948 for more information about the `--package (multiple occurrences) ` flag.
3514
3514
3515
3515
"# ] ] )
3516
3516
. with_stdout_data ( str![ [ r#""# ] ] )
0 commit comments