mirror of
https://github.com/git/git
synced 2024-10-29 17:08:46 +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
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ test_expect_success 'ridiculously long subject in boundary' '
|
|||
test -s heads &&
|
||||
git fetch long-subject-bundle.bdl &&
|
||||
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' '
|
||||
|
|
Loading…
Reference in a new issue