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 9, 2020
1 parent 572acb0 commit 458bdf2
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_7cc33aff-18d4-48cd-8f97-38c272119a53=y
local s=global_alias_7cc33aff-18d4-48cd-8f97-38c272119a53

BUFFER=$'$s'

Expand Down

0 comments on commit 458bdf2

Please sign in to comment.