From d37c55c788cd422a38625fda8e7f5a33151945e9 Mon Sep 17 00:00:00 2001 From: Matthew Martin Date: Thu, 12 May 2016 22:59:06 -0500 Subject: [PATCH] minor: tests: Add comment for NONE in expected_region_highlight --- tests/test-highlighting.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test-highlighting.zsh b/tests/test-highlighting.zsh index 383e92d..7705476 100755 --- a/tests/test-highlighting.zsh +++ b/tests/test-highlighting.zsh @@ -110,6 +110,7 @@ run_test_internal() { integer start=$highlight_zone[1] end=$highlight_zone[2] # Escape # as ♯ since the former is illegal in the 'description' part of TAP output local desc="[$start,$end] «${BUFFER[$start,$end]//'#'/♯}»" + # Match the emptiness of observed_result if no highlighting is expected [[ $highlight_zone[3] == NONE ]] && highlight_zone[3]= [[ -n "$highlight_zone[4]" ]] && todo=" # TODO $highlight_zone[4]" for j in {$start..$end}; do