author | Jonathan Nieder <jrnieder@gmail.com> | |
Sun, 31 Oct 2010 07:36:57 +0000 (02:36 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 9 Nov 2010 23:00:43 +0000 (15:00 -0800) | ||
commit | 0155a64e88ad65408f9ca6d988156aec0898863d | |
tree | 7cced7af4d2a4080f62cc0d88612e438f162ae1c | tree | snapshot |
parent | 598f0877aa36b5482734091ffef30e21b4e79803 | commit | diff |
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>
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>
t/t3301-notes.sh | diff | blob | history |