From a263a7dc314dcf011bcc63a272e88564ea130459 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Tue, 10 Oct 2023 17:52:46 -0400 Subject: [PATCH] test(build): generalize test assertion for non-rustup env --- tests/testsuite/build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testsuite/build.rs b/tests/testsuite/build.rs index 77cdd538eef..1169ecc6c93 100644 --- a/tests/testsuite/build.rs +++ b/tests/testsuite/build.rs @@ -261,8 +261,8 @@ error: unexpected argument '-z' found tip: a similar argument exists: '-Z' -Usage: cargo [+toolchain] [OPTIONS] [COMMAND] - cargo [+toolchain] [OPTIONS] -Zscript [ARGS]... +Usage: cargo [..][OPTIONS] [COMMAND] + cargo [..][OPTIONS] -Zscript [ARGS]... For more information, try '--help'. ",