Skip to content

Commit

Permalink
tests: parameter-to-global-alias.zsh: Do not use 'x' as dummy command
Browse files Browse the repository at this point in the history
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").
  • Loading branch information
m0vie committed Aug 10, 2020
1 parent 65b89ef commit 326afba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions highlighters/main/test-data/parameter-to-global-alias.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
# vim: ft=zsh sw=2 ts=2 et
# -------------------------------------------------------------------------------------------------

alias -g x=y
local s=x
alias -g global_alias_which_hopefully_does_not_clash_with_an_external_command_name=y
local s=global_alias_which_hopefully_does_not_clash_with_an_external_command_name

BUFFER=$'$s'

Expand Down

0 comments on commit 326afba

Please sign in to comment.