summaryrefslogtreecommitdiffstats
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.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/chainlint/incomplete-line.test b/t/chainlint/incomplete-line.test
new file mode 100644
index 0000000..d856658
--- /dev/null
+++ b/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
+)