about summary refs log tree commit diff
path: root/third_party/git/t/chainlint/comment.test
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/chainlint/comment.test')
-rw-r--r--third_party/git/t/chainlint/comment.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/git/t/chainlint/comment.test b/third_party/git/t/chainlint/comment.test
new file mode 100644
index 0000000000..113c0c466f
--- /dev/null
+++ b/third_party/git/t/chainlint/comment.test
@@ -0,0 +1,11 @@
+(
+# LINT: swallow comment lines
+	# comment 1
+	nothing &&
+	# comment 2
+	something
+# LINT: swallow comment lines since final _statement_ before subshell end is
+# LINT: significant to "&&"-check, not final _line_ (which might be comment)
+	# comment 3
+	# comment 4
+)