diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-30 09:19:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-30 09:19:13 +0200 |
commit | 16b6f3e8a6d2d6bf49d5f8785708ed18983c0667 (patch) | |
tree | 1ac919fe66ba2d11f44b53d7363b3f86a84a72ff /tests/command | |
parent | 288718b4977058bdcf692422173f3642b0aa4d1d (diff) |
Expose command_run()'s @-substitution functionality
Also add support for different opening and closing substitution characters.
Diffstat (limited to 'tests/command')
-rw-r--r-- | tests/command/testscript | 6 |
1 files changed, 3 insertions, 3 deletions
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 } } |