From 3176b9567c4b5779a399df7fb65778c677763f6b Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 5 May 2016 19:17:43 +0000 Subject: [PATCH] minor: tests: Quote $BUFFER differently on output. The new output improves readability of the 'main' highlighter's test output. --- tests/test-highlighting.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-highlighting.zsh b/tests/test-highlighting.zsh index 4594202..4b41d54 100755 --- a/tests/test-highlighting.zsh +++ b/tests/test-highlighting.zsh @@ -109,7 +109,7 @@ run_test_internal() { local todo= 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] ${(qqq)BUFFER[$start,$end]//'#'/♯}" + local desc="[$start,$end] «${BUFFER[$start,$end]//'#'/♯}»" [[ $highlight_zone[3] == NONE ]] && highlight_zone[3]= [[ -n "$highlight_zone[4]" ]] && todo=" # TODO $highlight_zone[4]" for j in {$start..$end}; do