This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
zsh-syntax-highlighting
mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
17
Wiki
Activity
Browse Source
tests: precommand-killing1: Use a dummy path that always exists
E.g., on Cygwin /etc/passwd does not necessarily exist.
pull/761/head
m0viefreak
4 years ago
committed by
Daniel Shahaf
parent
3944a44ffe
commit
79b6e7e05f
1 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-2
highlighters/main/test-data/precommand-killing1.zsh
+ 3
- 2
highlighters/main/test-data/precommand-killing1.zsh
View File
@ -29,11 +29,12 @@
# -------------------------------------------------------------------------------------------------
hash
sudo
=
false
touch foo
BUFFER
=
'sudo -e
/etc/passwd
'
BUFFER
=
'sudo -e
./foo
'
expected_region_highlight
=
(
'1 4 precommand'
# sudo
'6 7 single-hyphen-option'
# -e
'9 1
9 path'
# /etc/passwd
'9 1
3 path'
# ./foo
)
Write
Preview
Loading…
Cancel
Save