From 7e17bb9999f39c5a99a19202ff7f3353031808f6 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Mon, 2 May 2022 22:34:48 -0400 Subject: [PATCH] Each completion should be on its own line (#97) It was working before because we happened to only check that the first completion of the list was present. With an optimisation coming to Cobra, having more than one completion per line will always fail. Signed-off-by: Marc Khouzam --- scripts/completion-tests/completionTests.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/completion-tests/completionTests.sh b/scripts/completion-tests/completionTests.sh index fb49bec..9121fe5 100755 --- a/scripts/completion-tests/completionTests.sh +++ b/scripts/completion-tests/completionTests.sh @@ -136,7 +136,10 @@ cat > ${PLUGIN_DIR}/plugin.complete << EOF if [ "\$2" = "config" ]; then echo "case-config" - echo "gryffindor slytherin ravenclaw hufflepuff" + echo "gryffindor" + echo "slytherin" + echo "ravenclaw" + echo "hufflepuff" echo ":0" exit fi