about summary refs log tree commit diff
path: root/third_party/git/t/chainlint/broken-chain.test
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/chainlint/broken-chain.test')
-rw-r--r--third_party/git/t/chainlint/broken-chain.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/git/t/chainlint/broken-chain.test b/third_party/git/t/chainlint/broken-chain.test
new file mode 100644
index 0000000000..3cc67b65d0
--- /dev/null
+++ b/third_party/git/t/chainlint/broken-chain.test
@@ -0,0 +1,8 @@
+(
+	foo &&
+# LINT: missing "&&" from 'bar'
+	bar
+	baz &&
+# LINT: final statement before closing ")" legitimately lacks "&&"
+	wop
+)