From 288be1976d766f8b5c693da1830866cff616241d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 22 May 2023 17:09:43 +0200 Subject: Fix "unknown command" message when no suggestion Updates #10953 --- testscripts/commands/commands_errors.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testscripts') diff --git a/testscripts/commands/commands_errors.txt b/testscripts/commands/commands_errors.txt index fcce6197f..54448361d 100644 --- a/testscripts/commands/commands_errors.txt +++ b/testscripts/commands/commands_errors.txt @@ -1,7 +1,12 @@ # Testing various error situations. ! hugo mods +stderr 'unknown command "mods" for "hugo"' stderr 'Did you mean this\?' ! hugo mod clea stderr 'Did you mean this\?' +stderr 'clean' + +! hugo mod foo +stderr 'unknown command "foo" for "hugo mod"' \ No newline at end of file -- cgit v1.2.3