From 16b6f3e8a6d2d6bf49d5f8785708ed18983c0667 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 30 Jun 2020 09:19:13 +0200 Subject: Expose command_run()'s @-substitution functionality Also add support for different opening and closing substitution characters. --- tests/command/testscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/command') diff --git a/tests/command/testscript b/tests/command/testscript index 40af276..f2b046a 100644 --- a/tests/command/testscript +++ b/tests/command/testscript @@ -114,9 +114,9 @@ end { test.options += -s v=a - $* 'p @a b@' 2>"unmatched substitution character '@' in '@a'" != 0 : unterm-var - $* "p '@a b@'" 2>"whitespace in variable name 'a b'" != 0 : ws-var - $* 'p @x@' 2>"unknown variable 'x'" != 0 : unknown-var + $* 'p @a b@' 2>"unmatched substitution character '@'" != 0 : unterm-var + $* "p '@a b@'" 2>"whitespace in substitution variable 'a b'" != 0 : ws-var + $* 'p @x@' 2>"unknown substitution variable 'x'" != 0 : unknown-var } } -- cgit v1.1