mirror of
https://github.com/git/git
synced 2024-09-13 13:24:41 +00:00
t5607: make hash size independent
Use $OID_REGEX instead of a hard-coded regular expression. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
48c10cc0e6
commit
88ed241a7e
|
@ -64,7 +64,7 @@ test_expect_success 'ridiculously long subject in boundary' '
|
||||||
test -s heads &&
|
test -s heads &&
|
||||||
git fetch long-subject-bundle.bdl &&
|
git fetch long-subject-bundle.bdl &&
|
||||||
sed -n "/^-/{p;q;}" long-subject-bundle.bdl >boundary &&
|
sed -n "/^-/{p;q;}" long-subject-bundle.bdl >boundary &&
|
||||||
grep "^-[0-9a-f]\\{40\\} " boundary
|
grep "^-$OID_REGEX " boundary
|
||||||
'
|
'
|
||||||
|
|
||||||
test_expect_success 'prerequisites with an empty commit message' '
|
test_expect_success 'prerequisites with an empty commit message' '
|
||||||
|
|
Loading…
Reference in a new issue