aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang.sh
diff options
context:
space:
mode:
authorRebecca Turner <rbt@sent.as>2024-03-27 10:16:16 -0700
committerRebecca Turner <rbt@sent.as>2024-03-29 22:57:40 -0700
commit2a98ba8b97c9ff52519633c32cf63716827d6e7c (patch)
tree7b64c40ad064183cc7bc7afc662890ea567f2136 /tests/functional/lang.sh
parenta4f5bb951dbc6fa4ffa2bb56376b38f38b6e9154 (diff)
Add `pre-commit` checks
The big ones here are `trim-trailing-whitespace` and `end-of-file-fixer` (which makes sure that every file ends with exactly one newline character). Change-Id: Idca73b640883188f068f9903e013cf0d82aa1123
Diffstat (limited to 'tests/functional/lang.sh')
-rwxr-xr-xtests/functional/lang.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/functional/lang.sh b/tests/functional/lang.sh
index 12df32c87..94c00bad0 100755
--- a/tests/functional/lang.sh
+++ b/tests/functional/lang.sh
@@ -1,3 +1,5 @@
+#!/usr/bin/env bash
+
source common.sh
set -o pipefail