mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-20 17:54:13 -05:00
Merge branch 'ss/t3200-test-zero-oid'
A test now uses the symbolic constant $ZERO_OID instead of 40 "0" to work better with SHA-256 as well as SHA-1. * ss/t3200-test-zero-oid: t3200: replace hardcoded null OID with $ZERO_OID
This commit is contained in:
@@ -1494,7 +1494,8 @@ test_expect_success 'refuse --edit-description on unborn branch for now' '
|
||||
'
|
||||
|
||||
test_expect_success '--merged catches invalid object names' '
|
||||
test_must_fail git branch --merged 0000000000000000000000000000000000000000
|
||||
test_must_fail git branch --merged $ZERO_OID 2>err &&
|
||||
test_grep "must point to a commit" err
|
||||
'
|
||||
|
||||
test_expect_success '--list during rebase' '
|
||||
|
||||
Reference in New Issue
Block a user