diff options
Diffstat (limited to 'third_party/git/t/chainlint/cuddled-if-then-else.test')
-rw-r--r-- | third_party/git/t/chainlint/cuddled-if-then-else.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/git/t/chainlint/cuddled-if-then-else.test b/third_party/git/t/chainlint/cuddled-if-then-else.test new file mode 100644 index 000000000000..eed774a9d643 --- /dev/null +++ b/third_party/git/t/chainlint/cuddled-if-then-else.test @@ -0,0 +1,7 @@ +# LINT: 'if' cuddled with "(" and ")"; indented with spaces, not tabs +(if test -z ""; then + echo empty + else + echo bizzy + fi) && +echo foobar |