t8003: make hash size independent
commit7187eb1e6a81b6b8539c1487285ba50621d2a4d3
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 29 Jul 2020 23:14:08 +0000 (29 23:14 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2020 16:16:47 +0000 (30 09:16 -0700)
treecd454b9fab98535aec0271e30c892e3297dc9f5a
parent98de0b27bf1f3475aaf3a3e6244741831d0b6489
t8003: make hash size independent

One assertion in this test invokes git with core.abbrev set to "40".
Since we're expecting the full hash length, use test_oid to look up the
full hash length for the hash in use.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t8003-blame-corner-cases.sh