about summary refs log tree commit diff
path: root/Test/V05styles.ztst
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-11-21 23:56:25 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2015-11-21 23:56:25 -0800
commitb1688305cc83e63104d4c581f649bbdcffa0e3b8 (patch)
treecb398b147c03d54bb79e071d810acde5c81b501f /Test/V05styles.ztst
parentcce4261a3c6f4bf78b483db61623c80e3c98d10b (diff)
downloadzsh-b1688305cc83e63104d4c581f649bbdcffa0e3b8.tar.gz
zsh-b1688305cc83e63104d4c581f649bbdcffa0e3b8.tar.xz
zsh-b1688305cc83e63104d4c581f649bbdcffa0e3b8.zip
37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip
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