diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-11-21 23:56:25 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-11-21 23:56:25 -0800 |
commit | b1688305cc83e63104d4c581f649bbdcffa0e3b8 (patch) | |
tree | cb398b147c03d54bb79e071d810acde5c81b501f /Test/V01zmodload.ztst | |
parent | cce4261a3c6f4bf78b483db61623c80e3c98d10b (diff) | |
download | zsh-b1688305cc83e63104d4c581f649bbdcffa0e3b8.tar.gz zsh-b1688305cc83e63104d4c581f649bbdcffa0e3b8.tar.xz zsh-b1688305cc83e63104d4c581f649bbdcffa0e3b8.zip |
37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip
Diffstat (limited to 'Test/V01zmodload.ztst')
-rw-r--r-- | Test/V01zmodload.ztst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst index 3580bacea..349ae9c89 100644 --- a/Test/V01zmodload.ztst +++ b/Test/V01zmodload.ztst @@ -52,7 +52,7 @@ >zmodload zsh/main >zmodload zsh/parameter -# You use to need zmodload -i to avoid an error. +# You used 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 @@ -64,7 +64,7 @@ for m in $mods do - zmodload -i $m || mods[(r)$m]=() + zmodload $m || mods[(r)$m]=() done 0d:Test loading of all compiled modules @@ -74,7 +74,7 @@ # Now check for proper failure conditions by trying some operations on # a nonexistent module. - zmodload -i bogus/notamodule + zmodload bogus/notamodule 1D:Check that loading a nonexistent module fails zmodload -u bogus/notamodule |