]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4002-diff-basic.sh
t: switch $_x40 to $OID_REGEX
[thirdparty/git.git] / t / t4002-diff-basic.sh
index 5af773d6f7d6bda468e35dc32c49a81382fe8b8a..3a6c21e8251b84b2979ac7fc5d730a3155b624b4 100755 (executable)
@@ -131,7 +131,7 @@ cmp_diff_files_output () {
     # object ID for the changed files because it wants you to look at the
     # filesystem.
     sed <"$2" >.test-tmp \
-       -e '/^:000000 /d;s/'$_x40'\( [MCRNDU][0-9]*\)   /'$ZERO_OID'\1  /' &&
+       -e '/^:000000 /d;s/'$OID_REGEX'\( [MCRNDU][0-9]*\)      /'$ZERO_OID'\1  /' &&
     test_cmp "$1" .test-tmp
 }