Skip to content

Commit

Permalink
Fix help message in features.rs test
Browse files Browse the repository at this point in the history
  • Loading branch information
pickfire committed Oct 14, 2020
1 parent a909849 commit fd5902c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/testsuite/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1939,15 +1939,17 @@ fn virtual_ws_flags() {
p.cargo("build --features=f1")
.with_stderr(
"[ERROR] --features is not allowed in the root of a virtual workspace\n\
note: while this was previously accepted, it didn't actually do anything",
[NOTE] while this was previously accepted, it didn't actually do anything\n\
[HELP] change the current directory to the package directory, or use the --manifest-path flag to the path of the package",
)
.with_status(101)
.run();

p.cargo("build --no-default-features")
.with_stderr(
"[ERROR] --no-default-features is not allowed in the root of a virtual workspace\n\
note: while this was previously accepted, it didn't actually do anything",
[NOTE] while this was previously accepted, it didn't actually do anything\n\
[HELP] change the current directory to the package directory, or use the --manifest-path flag to the path of the package",
)
.with_status(101)
.run();
Expand Down

0 comments on commit fd5902c

Please sign in to comment.