From b59527901d6052e3b314a71f14142833980e5b38 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Sun, 30 Jul 2023 07:42:00 +0100 Subject: [PATCH] test: relax help text assertion When running test in rust-lang/rust via `./x test src/tool/cargo`, there is no rustup integrated. --- tests/testsuite/cargo/help/stdout.log | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testsuite/cargo/help/stdout.log b/tests/testsuite/cargo/help/stdout.log index 455d59bb1f6..8f06dcb2652 100644 --- a/tests/testsuite/cargo/help/stdout.log +++ b/tests/testsuite/cargo/help/stdout.log @@ -1,7 +1,7 @@ Rust's package manager -Usage: cargo [+toolchain] [OPTIONS] [COMMAND] - cargo [+toolchain] [OPTIONS] -Zscript [ARGS]... +Usage: cargo [..][OPTIONS] [COMMAND] + cargo [..][OPTIONS] -Zscript [ARGS]... Options: -h, --help Print help