summary refs log tree commit diff
path: root/Test/V04features.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/V04features.ztst')
-rw-r--r--Test/V04features.ztst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Test/V04features.ztst b/Test/V04features.ztst
index 2790456e2..6939053e1 100644
--- a/Test/V04features.ztst
+++ b/Test/V04features.ztst
@@ -7,7 +7,8 @@
 # We use zsh/datetime because it has a list of features that is short
 # but contains two types.
 
-  if ! (zmodload zsh/datetime >/dev/null 2>/dev/null); then
+  # Subshell for prep test so we can load individual features later
+  if ! (zmodload zsh/datetime 2>/dev/null); then
     ZTST_unimplemented="can't load the zsh/datetime module for testing"
   fi