diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2021-12-13 09:30:54 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-14 01:15:29 +0300 |
commit | 5be30d0cd301f50e5f4dd992bc11ce75f457cf46 (patch) | |
tree | 61caace41b4929f5470b34d5767e7afa14544116 /t/chainlint/here-doc-multi-line-string.expect | |
parent | 0d7131763e7762dc34c407f32e3c63123001a292 (diff) |
chainlint.sed: drop subshell-closing ">" annotation
chainlint.sed inserts a ">" annotation at the beginning of a line to
signal that its heuristics have identified an end-of-subshell. This was
useful as a debugging aid during development of the script, but it has
no value to test writers and might even confuse them into thinking that
the linter is misbehaving by inserting line-noise into the shell code it
is validating. Moreover, its presence also potentially makes it
difficult to reuse the chainlint self-test "expect" output should a more
capable linter ever be developed. Therefore, drop the ">" annotation.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/chainlint/here-doc-multi-line-string.expect')
-rw-r--r-- | t/chainlint/here-doc-multi-line-string.expect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/chainlint/here-doc-multi-line-string.expect b/t/chainlint/here-doc-multi-line-string.expect index a3b9a5472d..7e883b252e 100644 --- a/t/chainlint/here-doc-multi-line-string.expect +++ b/t/chainlint/here-doc-multi-line-string.expect @@ -1,4 +1,4 @@ ( cat && echo "multi-line string" ?!AMP?! bap ->) +) |