about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-11-28 21:34:09 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-11-28 21:34:09 +0000
commit5b887fa759f503ed854c44ecc759f1596ed8a104 (patch)
treedcfd1b6fd6f0d156fdb7bb0333edaa2281442605 /Test
parent9cfdf3890632494cbaa992cbb245cdfe25793a2a (diff)
downloadzsh-5b887fa759f503ed854c44ecc759f1596ed8a104.tar.gz
zsh-5b887fa759f503ed854c44ecc759f1596ed8a104.tar.xz
zsh-5b887fa759f503ed854c44ecc759f1596ed8a104.zip
Test for matcher fix in 24127
Diffstat (limited to 'Test')
-rw-r--r--Test/Y02compmatch.ztst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/Y02compmatch.ztst b/Test/Y02compmatch.ztst
index abbe51bce..704580043 100644
--- a/Test/Y02compmatch.ztst
+++ b/Test/Y02compmatch.ztst
@@ -667,6 +667,14 @@
 >NO:{aA.bC.cB.dA}
 >NO:{aD.bC.cB.dA}
 
+ users_12227_matcher='r:|[-./_]=* r:|=* l:|=*'
+ users_12227_list=(foo-bar-abc foo-bar-def foo-bar-ghi)
+ test_code $users_12227_matcher users_12227_list
+ comptest $'tst bar\t'
+0:Test for wildcard left anchor with partial word right anchors
+>line: {tst foo-bar-}{}
+>COMPADD:{}
+>INSERT_POSITIONS:{12}
 
 %clean