summaryrefslogtreecommitdiff
path: root/t/chainlint/function.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/function.test')
-rw-r--r--t/chainlint/function.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/chainlint/function.test b/t/chainlint/function.test
index 5ee59562c9..763fcf3f87 100644
--- a/t/chainlint/function.test
+++ b/t/chainlint/function.test
@@ -1,3 +1,4 @@
+test_expect_success 'function' '
# LINT: "()" in function definition not mistaken for subshell
sha1_file() {
echo "$*" | sed "s#..#.git/objects/&/#"
@@ -11,3 +12,4 @@ remove_object() {
}
sha1_file arg && remove_object arg
+'