Skip to content

Commit 6fa6fdc

Browse files
committed
Auto merge of #12804 - weihanglo:generalize-test-assertion, r=Muscraft
test(build): generalize test assertion for non-rustup env
2 parents 95089be + a263a7d commit 6fa6fdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ error: unexpected argument '-z' found
261261
262262
tip: a similar argument exists: '-Z'
263263
264-
Usage: cargo [+toolchain] [OPTIONS] [COMMAND]
265-
cargo [+toolchain] [OPTIONS] -Zscript <MANIFEST_RS> [ARGS]...
264+
Usage: cargo [..][OPTIONS] [COMMAND]
265+
cargo [..][OPTIONS] -Zscript <MANIFEST_RS> [ARGS]...
266266
267267
For more information, try '--help'.
268268
",

0 commit comments

Comments
 (0)