git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / greplint / dqstring-continuation-offset.test
| 1 | # Double-quoted test bodies with backslash-continuation lines: |
| 2 | # the splice adjustment in check_test compensates for \<newline> |
| 3 | # lines that the lexer consumes without emitting into the body |
| 4 | # text, so the reported line number matches the source. |
| 5 | test_expect_success 'dqstring continuation offset' " |
| 6 | x=\$(echo \ |
| 7 | hello) && |
| 8 | y=\$(echo \ |
| 9 | world) && |
| 10 | grep pattern file |
| 11 | " |