parent
f4d37b74cc
commit
749b30221d
|
@ -27,15 +27,18 @@
|
||||||
# vim: ft=zsh sw=2 ts=2 et
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
## setup
|
if [[ $OSTYPE == msys ]]; then
|
||||||
setopt PATH_DIRS
|
skip_test='Cannot chmod +x in msys2'
|
||||||
mkdir -p foo/bar
|
else
|
||||||
touch foo/bar/testing-issue-228
|
setopt PATH_DIRS
|
||||||
chmod +x foo/bar/testing-issue-228
|
mkdir -p foo/bar
|
||||||
path+=( "$PWD"/foo )
|
touch foo/bar/testing-issue-228
|
||||||
|
chmod +x foo/bar/testing-issue-228
|
||||||
|
path+=( "$PWD"/foo )
|
||||||
|
|
||||||
BUFFER='bar/testing-issue-228'
|
BUFFER='bar/testing-issue-228'
|
||||||
|
|
||||||
expected_region_highlight=(
|
expected_region_highlight=(
|
||||||
"1 21 command" # bar/testing-issue-228
|
"1 21 command" # bar/testing-issue-228
|
||||||
)
|
)
|
||||||
|
fi
|
||||||
|
|
|
@ -27,10 +27,14 @@
|
||||||
# vim: ft=zsh sw=2 ts=2 et
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
ln -s /nonexistent broken-symlink
|
if [[ $OSTYPE == msys ]]; then
|
||||||
BUFFER=': broken-symlink'
|
skip_test='Cannot create symlinks in msys2'
|
||||||
CURSOR=5 # to make path_prefix ineligible
|
else
|
||||||
|
ln -s /nonexistent broken-symlink
|
||||||
|
BUFFER=': broken-symlink'
|
||||||
|
CURSOR=5 # to make path_prefix ineligible
|
||||||
|
|
||||||
expected_region_highlight=(
|
expected_region_highlight=(
|
||||||
"3 16 path" # broken-symlink
|
"3 16 path" # broken-symlink
|
||||||
)
|
)
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue