diff options
Diffstat (limited to 'Test/V01zmodload.ztst')
-rw-r--r-- | Test/V01zmodload.ztst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst index daba3e0a1..2308d3271 100644 --- a/Test/V01zmodload.ztst +++ b/Test/V01zmodload.ztst @@ -83,18 +83,34 @@ zmodload -ub bogus 0:Add/remove autoloaded builtin + zmodload -ub bogus +1:Fail to remove unautoloaded builtin +?(eval):zmodload:1: bogus: no such builtin + zmodload -ac bogus zmodload -uc bogus 0:Add/remove autoloaded condition + zmodload -uc bogus +1:Fail to remove unautoloaded condition +?(eval):zmodload:1: bogus: no such condition + zmodload -ap bogus zmodload -up bogus 0:Add/remove autoloaded parameter + zmodload -up bogus +1:Fail to remove unautoloaded parameter +?(eval):zmodload:1: bogus: no such parameter + zmodload -af bogus zmodload -uf bogus 0:Add/remove autoloaded math function + zmodload -uf bogus +1:Fail to remove unautoloaded math function +?(eval):zmodload:1: bogus: no such math function + # If the "example" module is available, test various autoloading behavior. if [[ $mods[(r)zsh/example] == zsh/example ]]; then |