test harness: No-op change to minimize the next diff.

This commit is contained in:
Daniel Shahaf 2020-03-17 14:53:09 +00:00
parent e79ce6afd0
commit ea2f1060f6

View File

@ -186,14 +186,16 @@ run_test_internal() {
if [[ -n $expected_mismatch ]]; then if [[ -n $expected_mismatch ]]; then
tap_escape $expected_mismatch; expected_mismatch=$REPLY tap_escape $expected_mismatch; expected_mismatch=$REPLY
print "ok $i - cardinality check" "# SKIP $expected_mismatch" print "ok $i - cardinality check" "# SKIP $expected_mismatch"
elif (( $#expected_region_highlight == $#region_highlight )); then
print -r -- "ok $i - cardinality check"
else else
local details if (( $#expected_region_highlight == $#region_highlight )); then
details+="have $#expected_region_highlight expectations and $#region_highlight region_highlight entries: " print -r -- "ok $i - cardinality check"
details+="«$(typeset_p expected_region_highlight)» «$(typeset_p region_highlight)»" else
tap_escape $details; details=$REPLY local details
print -r -- "not ok $i - cardinality check - $details" details+="have $#expected_region_highlight expectations and $#region_highlight region_highlight entries: "
details+="«$(typeset_p expected_region_highlight)» «$(typeset_p region_highlight)»"
tap_escape $details; details=$REPLY
print -r -- "not ok $i - cardinality check - $details"
fi
fi fi
} }