From 4131a0a18e4ed37cf528beb1f0ee228b15d39cbd Mon Sep 17 00:00:00 2001 From: Chris Quigley Date: Wed, 18 Dec 2024 09:54:49 -0500 Subject: [PATCH] Typo fix --- cli/keyring_list_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/keyring_list_test.go b/cli/keyring_list_test.go index 1c7a5fb9bf..b7e88ecf93 100644 --- a/cli/keyring_list_test.go +++ b/cli/keyring_list_test.go @@ -53,7 +53,8 @@ func TestKeyringList(t *testing.T) { outputString := output.String() // Use regex to extract the keys, and compare with the expected values - // We know the format the output should be, which is: "Keys in the keyring:\n- keyname1\n- keyname2\n- keyname3\n" + // We know what the format the output should be, which is: + // "Keys in the keyring:\n- keyname1\n- keyname2\n- keyname3\n" re := regexp.MustCompile(`-\s([^\n]+)`) matches := re.FindAllStringSubmatch(outputString, -1) var extractedKeys []string