Skip to content

Commit 0b5b3dc

Browse files
m0viephy1729
authored andcommitted
tests: parameter-to-global-alias: Use alias name less likely to clash
1 parent f8cd0b5 commit 0b5b3dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

highlighters/main/test-data/parameter-to-global-alias.zsh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
# vim: ft=zsh sw=2 ts=2 et
2929
# -------------------------------------------------------------------------------------------------
3030

31-
if type x >/dev/null; then
32-
skip_test="Test is written on the assumption that 'x' is not a valid command name, but that assumption does not hold"
31+
if type global_alias >/dev/null; then
32+
skip_test="Test is written on the assumption that 'global_alias' is not a valid command name, but that assumption does not hold"
3333
return 0
3434
fi
35-
alias -g x=y
36-
local s=x
35+
alias -g global_alias=y
36+
local s=global_alias
3737

3838
BUFFER=$'$s'
3939

0 commit comments

Comments
 (0)