about summary refs log tree commit diff
path: root/Test/Y02compmatch.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/Y02compmatch.ztst')
-rw-r--r--Test/Y02compmatch.ztst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/Y02compmatch.ztst b/Test/Y02compmatch.ztst
index db734facc..e2f8e1a61 100644
--- a/Test/Y02compmatch.ztst
+++ b/Test/Y02compmatch.ztst
@@ -13,7 +13,7 @@
 %prep
   if [[ $OSTYPE = cygwin ]]; then
     ZTST_unimplemented="the zsh/zpty module does not work on Cygwin"
-  elif ( zmodload -i zsh/zpty ) >/dev/null 2>&1; then
+  elif ( zmodload zsh/zpty 2>/dev/null ); then
     . $ZTST_srcdir/comptest
     mkdir match.tmp
     cd match.tmp