Преглед изворни кода

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 година
родитељ
комит
6d5372a937
1 измењених фајлова са 4 додато и 0 уклоњено
  1. +4
    -0
      highlighters/main/test-data/parameter-to-global-alias.zsh

+ 4
- 0
highlighters/main/test-data/parameter-to-global-alias.zsh Прегледај датотеку

@ -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

Loading…
Откажи
Сачувај