ci: Add test for trailing comma in tool input option

This commit is contained in:
Taiki Endo
2026-04-04 22:07:47 +09:00
parent ba78689f17
commit 26f8c1ab49

View File

@@ -232,4 +232,9 @@ for tool in "${tools[@]}"; do
2) list+=$' \t ' ;;
esac
done
if [[ "${comma_sep}" == "1" ]]; then
case $((RANDOM % 2)) in
0) list+=',' ;;
esac
fi
printf 'tool=%s\n' "${list}"