diff options
Diffstat (limited to 'third_party/git/t/chainlint/if-then-else.expect')
-rw-r--r-- | third_party/git/t/chainlint/if-then-else.expect | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/third_party/git/t/chainlint/if-then-else.expect b/third_party/git/t/chainlint/if-then-else.expect new file mode 100644 index 000000000000..5953c7bfbc2e --- /dev/null +++ b/third_party/git/t/chainlint/if-then-else.expect @@ -0,0 +1,19 @@ +( + if test -n "" + then +?!AMP?! echo very + echo empty + elif test -z "" + echo foo + else + echo foo && + cat +?!AMP?! fi + echo poodle +>) && +( + if test -n ""; then + echo very && +?!AMP?! echo empty + if +>) |