about summary refs log tree commit diff
path: root/Test/V05styles.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/V05styles.ztst')
-rw-r--r--Test/V05styles.ztst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Test/V05styles.ztst b/Test/V05styles.ztst
index ca95b6348..c221d9db8 100644
--- a/Test/V05styles.ztst
+++ b/Test/V05styles.ztst
@@ -141,3 +141,13 @@
 >scalar-style
 >        :ztst:context:* second-scalar-value
 
+ (zstyle 'ctx?' foo one
+  zstyle 'ctx*' foo two
+  zstyle -s 'ctx1' foo bar && print $bar)
+ (zstyle 'ctx*' foo two
+  zstyle 'ctx?' foo one
+  zstyle -s 'ctx1' foo bar && print $bar)
+0:patterns of equal weight are used in order of definition
+>one
+>two
+