about summary refs log tree commit diff
path: root/Test/Y03arguments.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/Y03arguments.ztst')
-rw-r--r--Test/Y03arguments.ztst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Test/Y03arguments.ztst b/Test/Y03arguments.ztst
index 26c6db266..634b8b083 100644
--- a/Test/Y03arguments.ztst
+++ b/Test/Y03arguments.ztst
@@ -6,9 +6,11 @@
   mkdir comp.tmp
   cd comp.tmp
 
-  comptestinit -z $ZTST_testdir/../Src/zsh
+  comptestinit -z $ZTST_testdir/../Src/zsh &&
+  {
   comptesteval 'compdef _tst tst'
   tst_arguments () { comptesteval "_tst () { _arguments ${${(@qq)*}} }" }
+  }
 
 %test
  tst_arguments ':desc1:(arg1)'