Fix test for package_features for help

This commit is contained in:
Ivan Tham 2020-10-14 01:06:16 +08:00 committed by GitHub
parent c882b8ec6f
commit ca91c5db5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,7 @@ fn virtual_no_default_features() {
"\
[ERROR] --no-default-features is not allowed in the root of a virtual workspace
[NOTE] while this was previously accepted, it didn't actually do anything
[HELP] try cd into the package and run cargo command
",
)
.run();
@ -125,6 +126,7 @@ fn virtual_features() {
"\
[ERROR] --features is not allowed in the root of a virtual workspace
[NOTE] while this was previously accepted, it didn't actually do anything
[HELP] try cd into the package and run cargo command
",
)
.run();
@ -202,6 +204,7 @@ fn virtual_with_specific() {
"\
[ERROR] --features is not allowed in the root of a virtual workspace
[NOTE] while this was previously accepted, it didn't actually do anything
[HELP] try cd into the package and run cargo command
",
)
.run();
@ -371,6 +374,7 @@ fn virtual_member_slash() {
"\
[ERROR] --features is not allowed in the root of a virtual workspace
[NOTE] while this was previously accepted, it didn't actually do anything
[HELP] try cd into the package and run cargo command
",
)
.run();