File tree 2 files changed +23
-16
lines changed
highlighters/main/test-data
2 files changed +23
-16
lines changed Original file line number Diff line number Diff line change 27
27
# vim: ft=zsh sw=2 ts=2 et
28
28
# -------------------------------------------------------------------------------------------------
29
29
30
- # # setup
31
- setopt PATH_DIRS
32
- mkdir -p foo/bar
33
- touch foo/bar/testing-issue-228
34
- chmod +x foo/bar/testing-issue-228
35
- path+=( " $PWD " /foo )
30
+ if [[ $OSTYPE == msys ]]; then
31
+ skip_test=' Cannot chmod +x in msys2'
32
+ else
33
+ setopt PATH_DIRS
34
+ mkdir -p foo/bar
35
+ touch foo/bar/testing-issue-228
36
+ chmod +x foo/bar/testing-issue-228
37
+ path+=( " $PWD " /foo )
36
38
37
- BUFFER=' bar/testing-issue-228'
39
+ BUFFER=' bar/testing-issue-228'
38
40
39
- expected_region_highlight=(
40
- " 1 21 command" # bar/testing-issue-228
41
- )
41
+ expected_region_highlight=(
42
+ " 1 21 command" # bar/testing-issue-228
43
+ )
44
+ fi
Original file line number Diff line number Diff line change 27
27
# vim: ft=zsh sw=2 ts=2 et
28
28
# -------------------------------------------------------------------------------------------------
29
29
30
- ln -s /nonexistent broken-symlink
31
- BUFFER=' : broken-symlink'
32
- CURSOR=5 # to make path_prefix ineligible
30
+ if [[ $OSTYPE == msys ]]; then
31
+ skip_test=' Cannot create symlinks in msys2'
32
+ else
33
+ ln -s /nonexistent broken-symlink
34
+ BUFFER=' : broken-symlink'
35
+ CURSOR=5 # to make path_prefix ineligible
33
36
34
- expected_region_highlight=(
35
- " 3 16 path" # broken-symlink
36
- )
37
+ expected_region_highlight=(
38
+ " 3 16 path" # broken-symlink
39
+ )
40
+ fi
You can’t perform that action at this time.
0 commit comments