summary refs log tree commit diff
path: root/Test/V01zmodload.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/V01zmodload.ztst')
-rw-r--r--Test/V01zmodload.ztst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst
index 3787024e1..d26ae1e42 100644
--- a/Test/V01zmodload.ztst
+++ b/Test/V01zmodload.ztst
@@ -151,11 +151,12 @@
  zmodload -e example
 1:Delete the module alias again
 
-# Don't unload the two modules that are required by the test system!
+# Don't unload the main module.
+# Do unload zsh/parameter, but reload it as it is needed.
 
  mods[(r)zsh/main]=()
- mods[(r)zsh/parameter]=()
  zmodunload $mods
+ zmodload zsh/parameter
 0d:Unload the modules loaded by this test suite
 
 %clean