diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2019-02-21 23:37:47 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-22 14:31:43 -0800 |
commit | 945944ca70cba5a1e0b54be94d53030b4a3ad7db (patch) | |
tree | b4a1c49920781643cffb3f0dd0885881eaf50ccf /compat/pread.c | |
parent | commit-graph tests: split up corrupt_graph_and_verify() (diff) | |
download | tgif-945944ca70cba5a1e0b54be94d53030b4a3ad7db.tar.xz |
commit-graph tests: test a graph that's too small
Use the recently split-up components of the corrupt_graph_and_verify()
function to assert that we error on graphs that are too small. The
error was added in 2a2e32bdc5 ("commit-graph: implement git
commit-graph read", 2018-04-10), but there was no test for it.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/pread.c')
0 files changed, 0 insertions, 0 deletions