瀏覽代碼

minor: tests: Add comment for NONE in expected_region_highlight

pull/298/head
Matthew Martin 8 年之前
父節點
當前提交
d37c55c788
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      tests/test-highlighting.zsh

+ 1
- 0
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

Loading…
取消
儲存