Skip to content

Commit fd5902c

Browse files
authored
Fix help message in features.rs test
1 parent a909849 commit fd5902c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/testsuite/features.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1939,15 +1939,17 @@ fn virtual_ws_flags() {
19391939
p.cargo("build --features=f1")
19401940
.with_stderr(
19411941
"[ERROR] --features is not allowed in the root of a virtual workspace\n\
1942-
note: while this was previously accepted, it didn't actually do anything",
1942+
[NOTE] while this was previously accepted, it didn't actually do anything\n\
1943+
[HELP] change the current directory to the package directory, or use the --manifest-path flag to the path of the package",
19431944
)
19441945
.with_status(101)
19451946
.run();
19461947

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

0 commit comments

Comments
 (0)