about summary refs log tree commit diff
path: root/third_party/git/t/chainlint/incomplete-line.test
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/chainlint/incomplete-line.test')
-rw-r--r--third_party/git/t/chainlint/incomplete-line.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/git/t/chainlint/incomplete-line.test b/third_party/git/t/chainlint/incomplete-line.test
new file mode 100644
index 000000000000..d8566580839b
--- /dev/null
+++ b/third_party/git/t/chainlint/incomplete-line.test
@@ -0,0 +1,12 @@
+# LINT: stitch together all incomplete \-ending lines
+line 1 \
+line 2 \
+line 3 \
+line 4 &&
+(
+# LINT: stitch together all incomplete \-ending lines (subshell)
+	line 5 \
+	line 6 \
+	line 7 \
+	line 8
+)