about summary refs log tree commit diff
path: root/Test/D09brace.ztst
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2022-09-27 15:20:24 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2022-09-27 15:20:24 +0900
commit33938ad489e6f3c280d431f92920db5a00458534 (patch)
treed24636ac64410b3b2135bd53391ab03a27a6e1c1 /Test/D09brace.ztst
parent1e4c7bcae5daec29cbf85968e013576d665c3816 (diff)
downloadzsh-33938ad489e6f3c280d431f92920db5a00458534.tar.gz
zsh-33938ad489e6f3c280d431f92920db5a00458534.tar.xz
zsh-33938ad489e6f3c280d431f92920db5a00458534.zip
50668: treat 8bit chars correctly when multibyte is unset
The problem was found in character range, but may have existed in other
occasions
Diffstat (limited to 'Test/D09brace.ztst')
-rw-r--r--Test/D09brace.ztst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/D09brace.ztst b/Test/D09brace.ztst
index 580ed430f..961947b67 100644
--- a/Test/D09brace.ztst
+++ b/Test/D09brace.ztst
@@ -116,3 +116,10 @@
   print -r {1..10}{..
 0:Unmatched braces after matched braces are left alone.
 >1{.. 2{.. 3{.. 4{.. 5{.. 6{.. 7{.. 8{.. 9{.. 10{..
+
+  () {
+    setopt localoptions no_multibyte
+    echo -E {$'\x80'..$'\x81'}
+  }
+0:range of 8bit chars, multibyte option unset
+>\M-^@ \M-^A