summary refs log tree commit diff
path: root/Test/V05styles.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/V05styles.ztst')
-rw-r--r--Test/V05styles.ztst4
1 files changed, 1 insertions, 3 deletions
diff --git a/Test/V05styles.ztst b/Test/V05styles.ztst
index e932b5474..ca95b6348 100644
--- a/Test/V05styles.ztst
+++ b/Test/V05styles.ztst
@@ -2,9 +2,7 @@
 
 # Test the use of styles, if the zsh/zutil module is available.
 
-  if (zmodload zsh/zutil >/dev/null 2>/dev/null); then
-    zmodload zsh/zutil
-  else
+  if ! zmodload zsh/zutil 2>/dev/null; then
     ZTST_unimplemented="can't load the zsh/zutil module for testing"
   fi