@matheusbsbs / matheus-bagliano / commits / 88ed241a7e
Fork 0

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>

brian m. carlson committed Feb 7, 2020 at 00:52 UTC 88ed241a7eff7699a21c6868ef0682879f8a0dec
1 file changed +1 -1
t/t5607-clone-bundle.sh
+1 -1
@@ -64,7 +64,7 @@ test_expect_success 'ridiculously long subject in boundary' '
64 test -s heads &&
65 git fetch long-subject-bundle.bdl &&
66 sed -n "/^-/{p;q;}" long-subject-bundle.bdl >boundary &&
67 - grep "^-[0-9a-f]\\{40\\} " boundary
67 + grep "^-$OID_REGEX " boundary
68 '
69
70 test_expect_success 'prerequisites with an empty commit message' '