aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-30 09:19:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-30 09:19:13 +0200
commit16b6f3e8a6d2d6bf49d5f8785708ed18983c0667 (patch)
tree1ac919fe66ba2d11f44b53d7363b3f86a84a72ff /tests
parent288718b4977058bdcf692422173f3642b0aa4d1d (diff)
Expose command_run()'s @-substitution functionality
Also add support for different opening and closing substitution characters.
Diffstat (limited to 'tests')
-rw-r--r--tests/command/testscript6
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
}
}