Skip to content

Commit

Permalink
tests: parameter-to-global-alias: Use alias name less likely to clash
Browse files Browse the repository at this point in the history
  • Loading branch information
m0vie authored and phy1729 committed Oct 28, 2023
1 parent f8cd0b5 commit 0b5b3dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions highlighters/main/test-data/parameter-to-global-alias.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
# 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"
if type global_alias >/dev/null; then
skip_test="Test is written on the assumption that 'global_alias' is not a valid command name, but that assumption does not hold"
return 0
fi
alias -g x=y
local s=x
alias -g global_alias=y
local s=global_alias

BUFFER=$'$s'

Expand Down

0 comments on commit 0b5b3dc

Please sign in to comment.