tests: Tweak XFAIL/XPASS output of cardinality check.

Stylistic tweaks only; no functional change, no effect on TAP compliance.
This commit is contained in:
Daniel Shahaf 2018-12-29 11:46:18 +00:00
parent cd1647f4d4
commit 7cb5ad0f9b

View file

@ -153,9 +153,9 @@ run_test_internal() {
done
if (( $#expected_region_highlight == $#region_highlight )); then
print -r -- "ok $i - cardinality check" "${expected_mismatch:+" # TODO : $expected_mismatch"}"
print -r -- "ok $i - cardinality check" "${expected_mismatch:+"# TODO ${(qqq)expected_mismatch}"}"
else
print -r -- "not ok $i - have $#expected_region_highlight expectations and $#region_highlight region_highlight entries: «$(typeset -p expected_region_highlight)» «$(typeset -p region_highlight)»" "${expected_mismatch:+" # TODO : $expected_mismatch"}"
print -r -- "not ok $i - have $#expected_region_highlight expectations and $#region_highlight region_highlight entries: «$(typeset -p expected_region_highlight)» «$(typeset -p region_highlight)»" "${expected_mismatch:+"# TODO ${(qqq)expected_mismatch}"}"
fi
}