diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2013-07-16 10:05:35 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-17 17:50:56 -0700 |
commit | 8ade9b140f099540bcdec5bcf660faaf05b5e3ee (patch) | |
tree | 64841a9faeb8ee6ab90b75457768c54b46b4abf6 /t | |
parent | edca4152560522a431a51fc0a06147fc680b5b18 (diff) | |
download | git-8ade9b140f099540bcdec5bcf660faaf05b5e3ee.tar.gz |
t4000-diff-format.sh: modernize style
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-x | t/t4000-diff-format.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/t/t4000-diff-format.sh b/t/t4000-diff-format.sh index 6ddd46915d..2b5dffc3c4 100755 --- a/t/t4000-diff-format.sh +++ b/t/t4000-diff-format.sh @@ -15,17 +15,17 @@ line 3' cat path0 >path1 chmod +x path1 -test_expect_success \ - 'update-index --add two files with and without +x.' \ - 'git update-index --add path0 path1' +test_expect_success 'update-index --add two files with and without +x.' ' + git update-index --add path0 path1 +' mv path0 path0- sed -e 's/line/Line/' <path0- >path0 chmod +x path0 rm -f path1 -test_expect_success \ - 'git diff-files -p after editing work tree.' \ - 'git diff-files -p >current' +test_expect_success 'git diff-files -p after editing work tree.' ' + git diff-files -p >actual +' # that's as far as it comes if [ "$(git config --get core.filemode)" = false ] @@ -55,8 +55,8 @@ deleted file mode 100755 -line 3 EOF -test_expect_success \ - 'validate git diff-files -p output.' \ - 'compare_diff_patch current expected' +test_expect_success 'validate git diff-files -p output.' ' + compare_diff_patch expected actual +' test_done |