From b0c5f09169ac31855ebf0e93772bb57b9635b380 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 28 May 2007 22:57:39 +0000 Subject: see 23479: add initial features support for modules --- Test/V01zmodload.ztst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Test/V01zmodload.ztst') 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, -- cgit 1.4.1