mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
Perf: rename tests related to hashed commands
This commit is contained in:
parent
200648df2b
commit
fe98bbac6c
@ -1,5 +1,5 @@
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
# Copyright (c) 2020 zsh-syntax-highlighting contributors
|
||||
# Copyright (c) 2015 zsh-syntax-highlighting contributors
|
||||
# All rights reserved.
|
||||
#
|
||||
# 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
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
hash zsyh-hashed-command=/doesnotexist
|
||||
BUFFER='zsyh-hashed-command'
|
||||
hash zsh_syntax_highlighting_hash=/usr/bin/env
|
||||
BUFFER='zsh_syntax_highlighting_hash'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 19 unknown-token"
|
||||
"1 28 hashed-command"
|
||||
)
|
@ -27,9 +27,9 @@
|
||||
# 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'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 28 hashed-command"
|
||||
"1 28 unknown-token"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user