Skip to content

Commit 326afba

Browse files
committed
tests: parameter-to-global-alias.zsh: Do not use 'x' as dummy command
E.g. on Cygwin, 'x' is an external command, causing the test suite to fail: ## parameter-to-global-alias # BUFFER=$'$s' not ok 1 - [1,2] «$s» - expected (1 2 "unknown-token"), observed (1 2 "command").
1 parent 65b89ef commit 326afba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

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

31-
alias -g x=y
32-
local s=x
31+
alias -g global_alias_which_hopefully_does_not_clash_with_an_external_command_name=y
32+
local s=global_alias_which_hopefully_does_not_clash_with_an_external_command_name
3333

3434
BUFFER=$'$s'
3535

0 commit comments

Comments
 (0)