diff options
| author | Kristoffer Haugsbakk <code@khaugsbakk.name> | 2024-03-05 21:29:39 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-03-05 13:04:25 -0800 |
| commit | 8c5001c68e8f768e7b97cb5c366bc0b1e7a31ba7 (patch) | |
| tree | 0c5ca2e2eab13792b3ed6eb2fa30b9757f7c3e15 /builtin/commit-tree.c | |
| parent | Git 2.44 (diff) | |
| download | git-8c5001c68e8f768e7b97cb5c366bc0b1e7a31ba7.tar.gz git-8c5001c68e8f768e7b97cb5c366bc0b1e7a31ba7.zip | |
t3200: improve test style
Some tests use a preliminary heredoc for `expect` or have setup and
teardown commands before and after, respectively. It is however
preferred to keep all the logic in the test itself. Let’s move these
into the tests.
Also:
• Remove a now-irrelevant comment about test placement and switch back
to `main` post-test
• Prefer indented literal heredocs (`-\EOF`) except for a block which
says that this is intentional
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions
