summaryrefslogtreecommitdiff
path: root/t/chainlint/incomplete-line.test
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/incomplete-line.test')
-rw-r--r--t/chainlint/incomplete-line.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/chainlint/incomplete-line.test b/t/chainlint/incomplete-line.test
new file mode 100644
index 0000000000..74a93021eb
--- /dev/null
+++ b/t/chainlint/incomplete-line.test
@@ -0,0 +1,14 @@
+test_expect_success 'incomplete-line' '
+# 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
+)
+'