Browse Source

tests: Add cross-references.

pull/667/head
Daniel Shahaf 4 years ago
parent
commit
f996d83975
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      highlighters/main/test-data/alias-comment1.zsh
  2. +1
    -0
      highlighters/main/test-data/comment-followed.zsh

+ 1
- 1
highlighters/main/test-data/alias-comment1.zsh View File

@ -27,7 +27,7 @@
# vim: ft=zsh sw=2 ts=2 et # vim: ft=zsh sw=2 ts=2 et
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
# see alias-comment2.zsh
# see alias-comment2.zsh and comment-followed.zsh
setopt interactivecomments setopt interactivecomments
alias x=$'# foo\npwd' alias x=$'# foo\npwd'
BUFFER='x' BUFFER='x'

+ 1
- 0
highlighters/main/test-data/comment-followed.zsh View File

@ -28,6 +28,7 @@
# vim: ft=zsh sw=2 ts=2 et # vim: ft=zsh sw=2 ts=2 et
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
# see alias-comment1.zsh
setopt interactivecomments setopt interactivecomments
BUFFER=$'# foo\ntrue' BUFFER=$'# foo\ntrue'

Loading…
Cancel
Save