about summary refs log tree commit diff
path: root/third_party/git/t/t6101-rev-parse-parents.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t6101-rev-parse-parents.sh')
-rwxr-xr-xthird_party/git/t/t6101-rev-parse-parents.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/git/t/t6101-rev-parse-parents.sh b/third_party/git/t/t6101-rev-parse-parents.sh
index 7683e4a114..7531262a5e 100755
--- a/third_party/git/t/t6101-rev-parse-parents.sh
+++ b/third_party/git/t/t6101-rev-parse-parents.sh
@@ -34,7 +34,7 @@ test_expect_success 'setup' '
 '
 
 test_expect_success 'start is valid' '
-	git rev-parse start | grep "^[0-9a-f]\{40\}$"
+	git rev-parse start | grep "^$OID_REGEX$"
 '
 
 test_expect_success 'start^0' '