Skip to content
  • Jeff King's avatar
    t9502: fix &&-chain breakage · d8cd3279
    Jeff King authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    This script misses a trivial &&-chain in one of its tests,
    but it also has a weird reverse: it includes an &&-chain
    outside of any test_expect block! This "cat" should never
    fail, but if it did, we would not notice, as it would cause
    us to skip the follow-on test entirely (which does not
    appear intentional; there are many later tests which rely on
    this cat).
    
    Let's instead move the setup into its own test_expect_success
    block, which is the standard practice nowadays.
    
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    d8cd3279