summaryrefslogtreecommitdiff
path: root/t/chainlint/blank-line-before-esac.test
blob: 51f02ea0c541ac4015f405eb6b982665e42356db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
test_expect_success 'blank-line-before-esac' '
# LINT: blank line before "esac"
test_done () {
	case "$test_failure" in
	0)
		test_at_end_hook_

		exit 0 ;;

	*)
		if test $test_external_has_tap -eq 0
		then
			say_color error "# failed $test_failure among $msg"
			say "1..$test_count"
		fi

		exit 1 ;;

	esac
}
'