summaryrefslogtreecommitdiffstats
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-06-24 14:32:15 +0100
committerPeter Stephenson <pws@zsh.org>2015-06-24 14:32:15 +0100
commit7b46509e92dbef7bbe26b74d241dd906eaed0aef (patch)
treebbc6fc913d670a8ba4213ca20ea18e9382d695c7 /Test
parentvarious posts: Implement assignment parsing for typeset. (diff)
downloadzsh-7b46509e92dbef7bbe26b74d241dd906eaed0aef.tar
zsh-7b46509e92dbef7bbe26b74d241dd906eaed0aef.tar.gz
zsh-7b46509e92dbef7bbe26b74d241dd906eaed0aef.tar.bz2
zsh-7b46509e92dbef7bbe26b74d241dd906eaed0aef.tar.lz
zsh-7b46509e92dbef7bbe26b74d241dd906eaed0aef.tar.xz
zsh-7b46509e92dbef7bbe26b74d241dd906eaed0aef.tar.zst
zsh-7b46509e92dbef7bbe26b74d241dd906eaed0aef.zip
35590: tweak and test text output from typeset
Diffstat (limited to 'Test')
-rw-r--r--Test/B02typeset.ztst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst
index 4afb18962..e6285bc05 100644
--- a/Test/B02typeset.ztst
+++ b/Test/B02typeset.ztst
@@ -651,3 +651,15 @@
>odd
>number
>here
+
+ fn() { typeset foo bar thing=this stuff=(that other) more=woevva; }
+ which -x2 fn
+ fn2() { typeset assignfirst=(why not); }
+ which -x2 fn2
+0:text output from typeset
+>fn () {
+> typeset foo bar thing=this stuff=(that other) more=woevva
+>}
+>fn2 () {
+> typeset assignfirst=(why not)
+>}