1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-25 12:36:11 +03:00

Fix tests with new opt-in quoting

This commit is contained in:
Maxime Coste 2019-06-23 12:03:40 +10:00
parent 4b7b5d077c
commit c9858bb6d1
2 changed files with 3 additions and 3 deletions

View File

@ -23,8 +23,8 @@ main() {
exec -with-hooks <c-l>
eval -buffer *debug* write debug
nop %sh{
printf %s\\n "$kak_selections" > selections
printf %s\\n "$kak_selections_desc" > state
printf %s\\n "$kak_quoted_selections" > selections
printf %s\\n "$kak_quoted_selections_desc" > state
}
write out
quit!

View File

@ -1,6 +1,6 @@
declare-option str-list my_list 'foo' 'bar' '''foo''bar'''
evaluate-commands %sh{
eval set -- $kak_opt_my_list
eval set -- $kak_quoted_opt_my_list
for elem; do
echo exec "'i$(printf %s "$elem" | sed -e s/\'/\'\'/g)<ret><esc>'"
done