mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
tests: Add a comment. No functional change.
This commit is contained in:
parent
38c3ac8831
commit
268656d52b
1 changed files with 2 additions and 0 deletions
|
|
@ -121,6 +121,8 @@ run_test() {
|
|||
typeset -r __tests_tempdir # don't allow tests to override the variable that we will 'rm -rf' later on
|
||||
|
||||
{
|
||||
# Use a subshell to isolate tests from each other.
|
||||
# (So tests can alter global shell state using 'cd', 'hash', etc)
|
||||
(run_test_internal "$__tests_tempdir" "$@")
|
||||
} always {
|
||||
rm -rf -- "$__tests_tempdir"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue