Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: zsh/param/private module
This would fit in with standard practice with modules elsewhere..
we can't guarantee how the installer has set up config.modules
so should probably flag it as unimplemented rather than broken.
pws
diff --git a/Test/V10private.ztst b/Test/V10private.ztst
index 444b5b4..6c38e39 100644
--- a/Test/V10private.ztst
+++ b/Test/V10private.ztst
@@ -2,6 +2,9 @@
%prep
+ if ! (zmodload zsh/param/private >/dev/null 2>/dev/null); then
+ ZTST_unimplemented="can't load the zsh/param/private module for testing"
+ fi
zmodload zsh/param/private
%test
Messages sorted by:
Reverse Date,
Date,
Thread,
Author