tests: Follow-up to grandparent: Make the cardinality check XPASS properly when it should.

This commit is contained in:
Daniel Shahaf 2018-12-29 11:42:34 +00:00
parent 0efad58f30
commit cd1647f4d4

View File

@ -153,7 +153,7 @@ run_test_internal() {
done
if (( $#expected_region_highlight == $#region_highlight )); then
print -r -- "ok $i - cardinality check"
print -r -- "ok $i - cardinality check" "${expected_mismatch:+" # TODO : $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"}"
fi