summaryrefslogtreecommitdiff
path: root/Test/V05styles.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/V05styles.ztst')
-rw-r--r--Test/V05styles.ztst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/V05styles.ztst b/Test/V05styles.ztst
index 048751941..e4bdfece3 100644
--- a/Test/V05styles.ztst
+++ b/Test/V05styles.ztst
@@ -164,3 +164,12 @@
0:the example in the documentation remains correct
>snow
>snow
+
+ (
+ zstyle $'con\x00text' $'ke\x00y' $'val\x00u' $'e'
+ a=( ${(f)"$(zstyle -L)"} )
+ a=( ${(M)a:#*con*text*ke*y*val*u*e} )
+ print -r -- "$a"
+ )
+-f:zstyle -L escapes the key (regression: workers/48424)
+>zstyle $'con\C-@text' $'ke\C-@y' $'val\C-@u' e