about summary refs log tree commit diff
path: root/Test/D07multibyte.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-02-10 22:12:58 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-02-10 22:12:58 +0000
commit0a532a8f7fc5144aa8d92bda5b0d5d3acf38cc0c (patch)
tree62204a23ab6f208e6d73ec61a4266b9436dc3e0d /Test/D07multibyte.ztst
parent471184c7c2f2d8e18ebc60bfefe99b200ac6ff45 (diff)
downloadzsh-0a532a8f7fc5144aa8d92bda5b0d5d3acf38cc0c.tar.gz
zsh-0a532a8f7fc5144aa8d92bda5b0d5d3acf38cc0c.tar.xz
zsh-0a532a8f7fc5144aa8d92bda5b0d5d3acf38cc0c.zip
fix metafication of ${(#)x}
Diffstat (limited to 'Test/D07multibyte.ztst')
-rw-r--r--Test/D07multibyte.ztst32
1 files changed, 32 insertions, 0 deletions
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
index c3a24c067..07479539b 100644
--- a/Test/D07multibyte.ztst
+++ b/Test/D07multibyte.ztst
@@ -326,3 +326,35 @@
 0:Multibyte characters in print sorting
 >HAH HEH HÉH HÈH HUH
 >HAH HEH HUH HÈH HÉH
+
+# These are control characters in Unicode, so don't show up.
+# We just want to check they're not being treated as tokens.
+  for x in {128..150}; do
+     print ${(#)x}
+  done | while read line; do
+    print ${#line} $(( #line ))
+  done
+0:evaluated character number with multibyte characters
+>1 128
+>1 129
+>1 130
+>1 131
+>1 132
+>1 133
+>1 134
+>1 135
+>1 136
+>1 137
+>1 138
+>1 139
+>1 140
+>1 141
+>1 142
+>1 143
+>1 144
+>1 145
+>1 146
+>1 147
+>1 148
+>1 149
+>1 150