File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -186,14 +186,16 @@ run_test_internal() {
186186 if [[ -n $expected_mismatch ]]; then
187187 tap_escape $expected_mismatch ; expected_mismatch=$REPLY
188188 print " ok $i - cardinality check" " # SKIP $expected_mismatch "
189- elif (( $# expected_region_highlight == $# region_highlight )) ; then
190- print -r -- " ok $i - cardinality check"
191189 else
192- local details
193- details+=" have $# expected_region_highlight expectations and $# region_highlight region_highlight entries: "
194- details+=" «$( typeset_p expected_region_highlight) » «$( typeset_p region_highlight) »"
195- tap_escape $details ; details=$REPLY
196- print -r -- " not ok $i - cardinality check - $details "
190+ if (( $# expected_region_highlight == $# region_highlight )) ; then
191+ print -r -- " ok $i - cardinality check"
192+ else
193+ local details
194+ details+=" have $# expected_region_highlight expectations and $# region_highlight region_highlight entries: "
195+ details+=" «$( typeset_p expected_region_highlight) » «$( typeset_p region_highlight) »"
196+ tap_escape $details ; details=$REPLY
197+ print -r -- " not ok $i - cardinality check - $details "
198+ fi
197199 fi
198200}
199201
You can’t perform that action at this time.
0 commit comments