@@ -3492,25 +3492,25 @@ fn package_selection() {
34923492 . file ( "b/src/lib.rs" , "#[test] fn b() {}" )
34933493 . build ( ) ;
34943494
3495- p. cargo ( "publish --no-verify --dry-run --package a --package b " )
3495+ p. cargo ( "publish --no-verify --dry-run --workspace " )
34963496 . replace_crates_io ( registry. index_url ( ) )
34973497 . with_status ( 101 )
34983498 . 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
35003500See 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.
35023502
35033503"# ] ] )
35043504 . with_stdout_data ( str![ [ r#""# ] ] )
35053505 . run ( ) ;
35063506
3507- p. cargo ( "publish --no-verify --dry-run --workspace " )
3507+ p. cargo ( "publish --no-verify --dry-run --package a --package b " )
35083508 . replace_crates_io ( registry. index_url ( ) )
35093509 . with_status ( 101 )
35103510 . 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
35123512See 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.
35143514
35153515"# ] ] )
35163516 . with_stdout_data ( str![ [ r#""# ] ] )
0 commit comments