Fix tests with new opt-in quoting
This commit is contained in:
parent
4b7b5d077c
commit
c9858bb6d1
4
test/run
4
test/run
|
@ -23,8 +23,8 @@ main() {
|
||||||
exec -with-hooks <c-l>
|
exec -with-hooks <c-l>
|
||||||
eval -buffer *debug* write debug
|
eval -buffer *debug* write debug
|
||||||
nop %sh{
|
nop %sh{
|
||||||
printf %s\\n "$kak_selections" > selections
|
printf %s\\n "$kak_quoted_selections" > selections
|
||||||
printf %s\\n "$kak_selections_desc" > state
|
printf %s\\n "$kak_quoted_selections_desc" > state
|
||||||
}
|
}
|
||||||
write out
|
write out
|
||||||
quit!
|
quit!
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
declare-option str-list my_list 'foo' 'bar' '''foo''bar'''
|
declare-option str-list my_list 'foo' 'bar' '''foo''bar'''
|
||||||
evaluate-commands %sh{
|
evaluate-commands %sh{
|
||||||
eval set -- $kak_opt_my_list
|
eval set -- $kak_quoted_opt_my_list
|
||||||
for elem; do
|
for elem; do
|
||||||
echo exec "'i$(printf %s "$elem" | sed -e s/\'/\'\'/g)<ret><esc>'"
|
echo exec "'i$(printf %s "$elem" | sed -e s/\'/\'\'/g)<ret><esc>'"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user