Perf: rename tests related to hashed commands

This commit is contained in:
Roman Perepelitsa 2020-09-12 12:10:00 +02:00
parent 200648df2b
commit fe98bbac6c
4 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
# Copyright (c) 2020 zsh-syntax-highlighting contributors # Copyright (c) 2015 zsh-syntax-highlighting contributors
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without modification, are permitted # Redistribution and use in source and binary forms, with or without modification, are permitted
@ -27,9 +27,9 @@
# vim: ft=zsh sw=2 ts=2 et # vim: ft=zsh sw=2 ts=2 et
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
hash zsyh-hashed-command=/doesnotexist hash zsh_syntax_highlighting_hash=/usr/bin/env
BUFFER='zsyh-hashed-command' BUFFER='zsh_syntax_highlighting_hash'
expected_region_highlight=( expected_region_highlight=(
"1 19 unknown-token" "1 28 hashed-command"
) )

View File

@ -27,9 +27,9 @@
# vim: ft=zsh sw=2 ts=2 et # vim: ft=zsh sw=2 ts=2 et
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
hash zsh_syntax_highlighting_hash=/usr/bin/env hash zsh_syntax_highlighting_hash=/doesnotexist
BUFFER='zsh_syntax_highlighting_hash' BUFFER='zsh_syntax_highlighting_hash'
expected_region_highlight=( expected_region_highlight=(
"1 28 hashed-command" "1 28 unknown-token"
) )