diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2023-02-02 10:12:17 +0000 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2023-02-02 10:12:17 +0000 |
commit | 76d095df9de31d46b0ca042039855ffc286f5fdb (patch) | |
tree | 6c735048daa3773cb741b3b816d2acba4085f691 /Test/D04parameter.ztst | |
parent | 21baad1037c1aa85384a81dd77a4661676336133 (diff) | |
download | zsh-76d095df9de31d46b0ca042039855ffc286f5fdb.tar.gz zsh-76d095df9de31d46b0ca042039855ffc286f5fdb.tar.xz zsh-76d095df9de31d46b0ca042039855ffc286f5fdb.zip |
51306: error message in ${unset?error} should be expanded
Diffstat (limited to 'Test/D04parameter.ztst')
-rw-r--r-- | Test/D04parameter.ztst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 29275f13f..a11652d1e 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -110,6 +110,11 @@ *>*foo:1: 1: no arguments given >reached + message="expand me and remove quotes" + (: ${UNSET_PARAM?$message}) +1:${...?....} performs expansion on the message +?(eval):2: UNSET_PARAM: expand me and remove quotes + print ${set1:+word1} ${set1+word2} ${null1:+word3} ${null1+word4} print ${unset1:+word5} ${unset1+word6} 0:${...:+...}, ${...+...} |