From d9a7963970d6ae8b80d2a4db6af490d33869e812 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Tue, 14 Jul 2020 01:56:21 +0000 Subject: [PATCH] driver: Follow-up to grandparent: Have all test suite entry points declare the mock $region_highlight. tests/generate.zsh already does this. --- tests/test-perfs.zsh | 1 + tests/test-zprof.zsh | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/test-perfs.zsh b/tests/test-perfs.zsh index a84e147..ff083de 100755 --- a/tests/test-perfs.zsh +++ b/tests/test-perfs.zsh @@ -48,6 +48,7 @@ } # Load the main script. +typeset -a region_highlight . ${0:h:h}/zsh-syntax-highlighting.zsh # Activate the highlighter. diff --git a/tests/test-zprof.zsh b/tests/test-zprof.zsh index 2538f7d..ada1618 100755 --- a/tests/test-zprof.zsh +++ b/tests/test-zprof.zsh @@ -29,6 +29,7 @@ # ------------------------------------------------------------------------------------------------- # Load the main script. +typeset -a region_highlight . ${0:h:h}/zsh-syntax-highlighting.zsh # Activate the highlighter.