| 1 | test_expect_success 'blank-line-before-esac' ' |
| 2 | # LINT: blank line before "esac" |
| 3 | test_done () { |
| 4 | case "$test_failure" in |
| 5 | 0) |
| 6 | test_at_end_hook_ |
| 7 | |
| 8 | exit 0 ;; |
| 9 | |
| 10 | *) |
| 11 | if test $test_external_has_tap -eq 0 |
| 12 | then |
| 13 | say_color error "# failed $test_failure among $msg" |
| 14 | say "1..$test_count" |
| 15 | fi |
| 16 | |
| 17 | exit 1 ;; |
| 18 | |
| 19 | esac |
| 20 | } |
| 21 | ' |