tests: Follow-up to grandparent: Make the cardinality check XPASS properly when it should.
This commit is contained in:
parent
0efad58f30
commit
cd1647f4d4
@ -153,7 +153,7 @@ run_test_internal() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
if (( $#expected_region_highlight == $#region_highlight )); then
|
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
|
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 : $expected_mismatch"}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user