summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-10-31 02:36:57 -0500
committerJunio C Hamano <gitster@pobox.com>2010-11-09 15:00:43 -0800
commit0155a64e88ad65408f9ca6d988156aec0898863d (patch)
tree7cced7af4d2a4080f62cc0d88612e438f162ae1c /diff.h
parent598f0877aa36b5482734091ffef30e21b4e79803 (diff)
downloadgit-0155a64e88ad65408f9ca6d988156aec0898863d.tar.gz
t3301 (notes): use test_expect_code for clarity
Use the test_expect_code helper instead of open-coding it. The main behavior change is to print the command and actual exit status when the test fails. More importantly, this would make it easier to add commands before "git notes show" as part of the same test assertion if needed. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
0 files changed, 0 insertions, 0 deletions