about summary refs log tree commit diff
path: root/third_party/git/t/chainlint/while-loop.test
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/chainlint/while-loop.test')
-rw-r--r--third_party/git/t/chainlint/while-loop.test19
1 files changed, 0 insertions, 19 deletions
diff --git a/third_party/git/t/chainlint/while-loop.test b/third_party/git/t/chainlint/while-loop.test
deleted file mode 100644
index f1df085bf03b..000000000000
--- a/third_party/git/t/chainlint/while-loop.test
+++ /dev/null
@@ -1,19 +0,0 @@
-(
-# LINT: 'while, 'do', 'done' do not need "&&"
-	while true
-	do
-# LINT: missing "&&" on 'echo'
-		echo foo
-# LINT: last statement of while does not need "&&"
-		cat <<-\EOF
-		bar
-		EOF
-# LINT: missing "&&" on 'done'
-	done
-
-# LINT: 'do' on same line as 'while'
-	while true; do
-		echo foo &&
-		cat bar
-	done
-)