diff options
| author | Eric Sunshine <sunshine@sunshineco.com> | 2022-09-01 00:29:43 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-09-01 10:07:40 -0700 |
| commit | d99ebd6d2e57baa3ec45b939d40cf939b85301a3 (patch) | |
| tree | 5fe7842a7ef41219250830d9bb51405dbc605a17 /t/chainlint/return-loop.test | |
| parent | chainlint.pl: add parser to validate tests (diff) | |
| download | git-d99ebd6d2e57baa3ec45b939d40cf939b85301a3.tar.gz git-d99ebd6d2e57baa3ec45b939d40cf939b85301a3.zip | |
chainlint.pl: add parser to identify test definitions
Finish fleshing out chainlint.pl by adding ScriptParser, a parser which
scans shell scripts for tests defined by test_expect_success() and
test_expect_failure(), plucks the test body from each definition, and
passes it to TestParser for validation. It recognizes test definitions
not only at the top-level of test scripts but also tests synthesized
within compound commands such as loops and function.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/chainlint/return-loop.test')
0 files changed, 0 insertions, 0 deletions
