t: use test_expect_code instead of hand-rolled comparison
commitc21fc9d0ab217d6e3cf01ee895e827b72d8207b6
authorJeff King <peff@peff.net>
Fri, 20 Mar 2015 10:11:46 +0000 (20 06:11 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Mar 2015 17:20:16 +0000 (20 10:20 -0700)
tree46e5f6bca004507e9f1f1f47c438afa2fad61b5f
parent35da1bf5d6d51fe62d4d646c306c5cf5182a881e
t: use test_expect_code instead of hand-rolled comparison

This makes our output in the event of a failure slightly
nicer, and it means that we do not break the &&-chain.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0040-parse-options.sh
t/t4035-diff-quiet.sh
t/t4053-diff-no-index.sh