mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
47302: Test for print -v fix
This commit is contained in:
parent
b6ba74cd4e
commit
ea64d2fd4b
3 changed files with 13 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
# Use of print -p to output to coprocess A01grammar
|
||||
# Prompt expansion with print -P D01prompt
|
||||
# -l, -r, -R and -n indirectly tested in various places
|
||||
# multibyte tests in D07multibyte
|
||||
|
||||
# Not yet tested:
|
||||
# echo and pushln
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue