diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-28 22:57:39 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-28 22:57:39 +0000 |
commit | b0c5f09169ac31855ebf0e93772bb57b9635b380 (patch) | |
tree | 410c43a9843b2c88166c2cb9acd531eaa36d036d /Test/V01zmodload.ztst | |
parent | bd7632079045b1b6d0dee498c40833b409cf757e (diff) | |
download | zsh-b0c5f09169ac31855ebf0e93772bb57b9635b380.tar.gz zsh-b0c5f09169ac31855ebf0e93772bb57b9635b380.tar.xz zsh-b0c5f09169ac31855ebf0e93772bb57b9635b380.zip |
see 23479: add initial features support for modules
Diffstat (limited to 'Test/V01zmodload.ztst')
-rw-r--r-- | Test/V01zmodload.ztst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst index d26ae1e42..daba3e0a1 100644 --- a/Test/V01zmodload.ztst +++ b/Test/V01zmodload.ztst @@ -49,9 +49,11 @@ >zmodload zsh/main >zmodload zsh/parameter +# You use to need zmodload -i to avoid an error. +# That has been deemed pointless, so now an attempt +# to load a loaded module should succeed. zmodload zsh/main -1:Test reloading an already-loaded module -?(eval):zmodload:1: module zsh/main already loaded. +0:Test reloading an already-loaded module # Loop over the modules found above and attempt to load each one. Use # the -i flag in case dependencies cause multiple modules to be loaded, |