From c9858bb6d1a3bf0c99f5387f4e1fd7791dc223b0 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 23 Jun 2019 12:03:40 +1000 Subject: [PATCH] Fix tests with new opt-in quoting --- test/run | 4 ++-- test/shell/list-syntax/rc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/run b/test/run index 36f01358..c6a65e98 100755 --- a/test/run +++ b/test/run @@ -23,8 +23,8 @@ main() { exec -with-hooks 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! diff --git a/test/shell/list-syntax/rc b/test/shell/list-syntax/rc index e60c1ad5..93b5e169 100644 --- a/test/shell/list-syntax/rc +++ b/test/shell/list-syntax/rc @@ -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)'" done