Przeglądaj źródła

tests: Add a comment. No functional change.

pull/266/head
Daniel Shahaf 8 lat temu
rodzic
commit
268656d52b
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      tests/test-highlighting.zsh

+ 2
- 0
tests/test-highlighting.zsh Wyświetl plik

@ -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"

Ładowanie…
Anuluj
Zapisz