Merge branch 'ss/t3200-test-zero-oid' into next
A test now use 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
commit
647ee3f2dc
|
|
@ -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' '
|
||||
|
|
|
|||
Loading…
Reference in New Issue