summaryrefslogtreecommitdiff
path: root/t/t4018/bash-missing-parentheses
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-11-02 13:17:46 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-11-02 13:17:46 -0800
commit292e53fa9d2cf6d0b6d6adbbdc6dfc665bd4babe (patch)
treec6cf86a42e4386b3c37bd23903c672669e8e8bdf /t/t4018/bash-missing-parentheses
parentMerge branch 'bc/svn-hash-oid-fix' (diff)
parentuserdiff: support Bash (diff)
downloadtgif-292e53fa9d2cf6d0b6d6adbbdc6dfc665bd4babe.tar.xz
Merge branch 've/userdiff-bash'
The userdiff pattern learned to identify the function definition in POSIX shells and bash. * ve/userdiff-bash: userdiff: support Bash
Diffstat (limited to 't/t4018/bash-missing-parentheses')
-rw-r--r--t/t4018/bash-missing-parentheses6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t4018/bash-missing-parentheses b/t/t4018/bash-missing-parentheses
new file mode 100644
index 0000000000..8c8a05dd7a
--- /dev/null
+++ b/t/t4018/bash-missing-parentheses
@@ -0,0 +1,6 @@
+function RIGHT {
+ functionInvalidSyntax {
+ :
+ echo 'ChangeMe'
+ }
+}