mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-02-06 09:55:31 +08:00
parent
f4d37b74cc
commit
749b30221d
@ -27,7 +27,9 @@
|
||||
# vim: ft=zsh sw=2 ts=2 et
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
## setup
|
||||
if [[ $OSTYPE == msys ]]; then
|
||||
skip_test='Cannot chmod +x in msys2'
|
||||
else
|
||||
setopt PATH_DIRS
|
||||
mkdir -p foo/bar
|
||||
touch foo/bar/testing-issue-228
|
||||
@ -39,3 +41,4 @@ BUFFER='bar/testing-issue-228'
|
||||
expected_region_highlight=(
|
||||
"1 21 command" # bar/testing-issue-228
|
||||
)
|
||||
fi
|
||||
|
@ -27,6 +27,9 @@
|
||||
# vim: ft=zsh sw=2 ts=2 et
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
if [[ $OSTYPE == msys ]]; then
|
||||
skip_test='Cannot create symlinks in msys2'
|
||||
else
|
||||
ln -s /nonexistent broken-symlink
|
||||
BUFFER=': broken-symlink'
|
||||
CURSOR=5 # to make path_prefix ineligible
|
||||
@ -34,3 +37,4 @@ CURSOR=5 # to make path_prefix ineligible
|
||||
expected_region_highlight=(
|
||||
"3 16 path" # broken-symlink
|
||||
)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user