Skip to content

Commit

Permalink
Each completion should be on its own line (helm#97)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
marckhouzam authored May 3, 2022
1 parent 0aa9791 commit 7e17bb9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/completion-tests/completionTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e17bb9

Please sign in to comment.