about summary refs log tree commit diff
path: root/Test/D07multibyte.ztst
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2020-08-08 00:27:58 +0200
committerMikael Magnusson <mikachu@gmail.com>2020-10-25 23:05:28 +0100
commitea64d2fd4bddf4bf6cfa2d0abf5c407f6d7f1542 (patch)
tree6eeb4c71c61ce391055a6eb3e80d139e506874d2 /Test/D07multibyte.ztst
parentb6ba74cd4eaec2b6cb515748cf1b74a19133d4a4 (diff)
downloadzsh-ea64d2fd4bddf4bf6cfa2d0abf5c407f6d7f1542.tar.gz
zsh-ea64d2fd4bddf4bf6cfa2d0abf5c407f6d7f1542.tar.xz
zsh-ea64d2fd4bddf4bf6cfa2d0abf5c407f6d7f1542.zip
47302: Test for print -v fix
Diffstat (limited to 'Test/D07multibyte.ztst')
-rw-r--r--Test/D07multibyte.ztst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
index 989f45183..9375dcda4 100644
--- a/Test/D07multibyte.ztst
+++ b/Test/D07multibyte.ztst
@@ -570,6 +570,15 @@
 0:printf %q and quotestring and general metafy / token madness
 >你你
 
+ typeset foo
+ print -v foo 'ÖÓŐ'
+ echo $foo
+ printf -v foo 'ÖÓŐ'
+ echo $foo
+0:print and printf into a variable with multibyte text
+>ÖÓŐ
+>ÖÓŐ
+
 # This test is kept last as it introduces an additional
 # dependency on the system regex library.
   if zmodload zsh/regex 2>/dev/null; then