merge(third_party/git): Merge squashed git subtree at v2.23.0
Merge commit '1b593e1ea4
' as 'third_party/git'
This commit is contained in:
commit
7ef0d62730
3629 changed files with 1139935 additions and 0 deletions
25
third_party/git/t/chainlint/semicolon.test
vendored
Normal file
25
third_party/git/t/chainlint/semicolon.test
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
(
|
||||
# LINT: missing internal "&&" and ending "&&"
|
||||
cat foo ; echo bar
|
||||
# LINT: final statement before ")" only missing internal "&&"
|
||||
cat foo ; echo bar
|
||||
) &&
|
||||
(
|
||||
# LINT: missing internal "&&"
|
||||
cat foo ; echo bar &&
|
||||
cat foo ; echo bar
|
||||
) &&
|
||||
(
|
||||
# LINT: not fooled by semicolon in string
|
||||
echo "foo; bar" &&
|
||||
cat foo; echo bar
|
||||
) &&
|
||||
(
|
||||
# LINT: unnecessary terminating semicolon
|
||||
foo;
|
||||
) &&
|
||||
(cd foo &&
|
||||
for i in a b c; do
|
||||
# LINT: unnecessary terminating semicolon
|
||||
echo;
|
||||
done)
|
Loading…
Add table
Add a link
Reference in a new issue