tests: Fix a wrong value of $PREBUFFER in a test, and add checks to prevent this from recurring.

Discussed: https://github.com/zsh-users/zsh-syntax-highlighting/pull/706#issuecomment-642072978
This commit is contained in:
Daniel Shahaf
2020-06-11 08:14:07 +00:00
parent f6f7a91818
commit f6471dbec3
2 changed files with 2 additions and 1 deletions

View File

@@ -30,7 +30,7 @@
# Assumes that '/bin/sh' exists and '/bin/s' does not exist.
# Related to path_prefix.zsh
PREBUFFER='ls \'
PREBUFFER=$'ls \\\n'
BUFFER='/bin/s'
expected_region_highlight=(