Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
isprogram
/
zsh-syntax-highlighting
espelhamento de
https://github.com/zsh-users/zsh-syntax-highlighting.git
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Projects
0
Versões
17
Wiki
Atividade
Ver código fonte
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 anos atrás
committed by
Daniel Shahaf
pai
3944a44ffe
commit
79b6e7e05f
1 arquivos alterados
com
3 adições
e
2 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+3
-2
highlighters/main/test-data/precommand-killing1.zsh
+ 3
- 2
highlighters/main/test-data/precommand-killing1.zsh
Ver arquivo
@ -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
)
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar