Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
Pomoc
Zaloguj się
isprogram
/
zsh-syntax-highlighting
kopia lustrzana
https://github.com/zsh-users/zsh-syntax-highlighting.git
Obserwuj
1
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Projects
0
Wydania
17
Wiki
Aktywność
Przeglądaj źródła
tests: parameter-to-global-alias: Fix a false positive failure when 'x' happens to be a valid external command name.
Reported on issue
#757
along with other issues.
pull/761/head
Daniel Shahaf
4 lat temu
rodzic
e9cad1493f
commit
6d5372a937
1 zmienionych plików
z
4 dodań
i
0 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+4
-0
highlighters/main/test-data/parameter-to-global-alias.zsh
+ 4
- 0
highlighters/main/test-data/parameter-to-global-alias.zsh
Wyświetl plik
@ -28,6 +28,10 @@
# vim: ft=zsh sw=2 ts=2 et
# -------------------------------------------------------------------------------------------------
if
type
x >/dev/null
;
then
skip_test
=
"Test is written on the assumption that 'x' is not a valid command name, but that assumption does not hold"
return
0
fi
alias
-g
x
=
y
local
s
=
x
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz