about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-06-14 11:57:08 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-06-14 11:57:08 +0000
commite6f14352d61721db83b46e0e56c4d19b731fed95 (patch)
tree7bf7741f5c63b956dde1bfbbdc2da8d587ce2a7d /Test
parent4af11dc57a6f3d1c8f0ed412f6f11cf835edcf4e (diff)
downloadzsh-e6f14352d61721db83b46e0e56c4d19b731fed95.tar.gz
zsh-e6f14352d61721db83b46e0e56c4d19b731fed95.tar.xz
zsh-e6f14352d61721db83b46e0e56c4d19b731fed95.zip
28037: improved error messages for module autoloads
of math functions and builtins
Diffstat (limited to 'Test')
-rw-r--r--Test/V01zmodload.ztst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst
index 090c637df..d74b0ef18 100644
--- a/Test/V01zmodload.ztst
+++ b/Test/V01zmodload.ztst
@@ -135,7 +135,7 @@
   print "Shouldn't get here.")
 1:Failed builtin autoload
 ?(eval):3: module `zsh/parameter' has no such feature: `b:fail': autoload cancelled
-?(eval):3: unknown builtin: fail
+?(eval):3: autoloading module zsh/parameter failed to define builtin: fail
 
   (zmodload -u zsh/parameter
   zmodload -aF zsh/parameter p:fail
@@ -158,7 +158,7 @@
   (( fail() )) )
 2:Failed math function autoload
 ?(eval):3: module `zsh/parameter' has no such feature: `f:fail': autoload cancelled
-?(eval):3: unknown function: fail
+?(eval):3: autoloading module zsh/parameter failed to define math function: fail
 
   zmodload -aF zsh/parameter f:fail2
 1:Immediate autoload failure on non-existent feature when module loaded