Skip to content

Commit 572acb0

Browse files
committed
tests: precommand-killing1: Use a dummy path that always exists
E.g. on Cygwin /etc/passwd does not necessarily exist.
1 parent 7e98b21 commit 572acb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

highlighters/main/test-data/precommand-killing1.zsh

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030

3131
hash sudo=false
3232

33-
BUFFER='sudo -e /etc/passwd'
33+
BUFFER='sudo -e /usr'
3434

3535
expected_region_highlight=(
3636
'1 4 precommand' # sudo
3737
'6 7 single-hyphen-option' # -e
38-
'9 19 path' # /etc/passwd
38+
'9 12 path' # /usr
3939
)

0 commit comments

Comments
 (0)