Skip to content

Commit

Permalink
minor: tests: Add comment for NONE in expected_region_highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
phy1729 committed May 13, 2016
1 parent 364f206 commit d37c55c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test-highlighting.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d37c55c

Please sign in to comment.