about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/Y01completion.ztst2
-rw-r--r--Test/comptest1
2 files changed, 2 insertions, 1 deletions
diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst
index 906a634de..a2aa00717 100644
--- a/Test/Y01completion.ztst
+++ b/Test/Y01completion.ztst
@@ -54,10 +54,12 @@
 >FI:{file2}
 
 # Depends on path assignment in comptestinit
+  comptesteval "path=( $ZTST_srcdir:A )"
   comptest $'zt\t'
 0:command
 >line: {ztst.zsh }{}
 
+  comptesteval "path=( $ZTST_srcdir:A )"
   comptest $':;zt\t'
 0:command after separator
 >line: {:;ztst.zsh }{}
diff --git a/Test/comptest b/Test/comptest
index 4fd9b272d..10814d635 100644
--- a/Test/comptest
+++ b/Test/comptest
@@ -30,7 +30,6 @@ comptestinit () {
 "export LC_ALL=C" \
 "emulate -R zsh" \
 "export ZDOTDIR=$ZTST_testdir" \
-"path=( $ZTST_srcdir:A )" \
 "module_path=( $module_path )" \
 "fpath=( $fpath )" \
 "bindkey -$comptest_keymap" \