summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-10-29 17:06:27 +0000
committerPeter Stephenson <pws@zsh.org>2015-10-29 17:06:27 +0000
commitde9effbce601db7ad7f7f0d0969b70b920b4e371 (patch)
treedcd69faaedb1322e922df67ed1285981b4c06d8d /Test
parent300a58f5935631cad660ed238315e68bb86fca8c (diff)
downloadzsh-de9effbce601db7ad7f7f0d0969b70b920b4e371.tar.gz
zsh-de9effbce601db7ad7f7f0d0969b70b920b4e371.tar.xz
zsh-de9effbce601db7ad7f7f0d0969b70b920b4e371.zip
37018: Make WARNCREATEGLOBAL more consistent.
Wd don't need separate math handling any more, and can make it
output the function name in all cases.
Diffstat (limited to 'Test')
-rw-r--r--Test/E01options.ztst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst
index 1caee8d24..15468e888 100644
--- a/Test/E01options.ztst
+++ b/Test/E01options.ztst
@@ -1116,9 +1116,9 @@
   }
   fn
 0:WARN_CREATE_GLOBAL option
-?fn:3: scalar parameter foo1 created globally in function
-?fn:5: scalar parameter foo1 created globally in function
-?fn:15: math parameter foo5 created globally in function fn
+?fn:3: scalar parameter foo1 created globally in function fn
+?fn:5: scalar parameter foo1 created globally in function fn
+?fn:15: numeric parameter parameter foo5 created globally in function fn
 
 # This really just tests if XTRACE is egregiously broken.
 # To test it properly would need a full set of its own.