diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-02-18 21:52:59 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-02-19 23:49:57 -0800 |
| commit | 445401576787091ec78c0c5531027e7952668bfd (patch) | |
| tree | 430374fe8c87c86e32d8aba365b5c685aace7efa /commit.h | |
| parent | hook tests: test for exact "pre-push" hook input (diff) | |
| download | git-445401576787091ec78c0c5531027e7952668bfd.tar.gz git-445401576787091ec78c0c5531027e7952668bfd.zip | |
hook tests: use a modern style for "pre-push" tests
Indent the here-docs and use "test_cmp" instead of "diff" in tests
added in ec55559f937 (push: Add support for pre-push hooks,
2013-01-13). Let's also use the more typical "expect" instead of
"expected" to be consistent with the rest of the test file.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions
