tests: fix diff order arguments in test_cmp
authorStefan Beller <sbeller@google.com>
Fri, 6 Oct 2017 19:00:06 +0000 (12:00 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 7 Oct 2017 01:56:08 +0000 (10:56 +0900)
commit9c5b2fab304b5ce3233401c7c7e7a123d551c484
treee53aea6a3b052ed63bd417d6019bf273439f5d7f
parent217f2767cbcb562872437eed4dec62e00846d90c
tests: fix diff order arguments in test_cmp

Fix the argument order for test_cmp. When given the expected
result first the diff shows the actual output with '+' and the
expectation with '-', which is the convention for our tests.

Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
15 files changed:
t/t1004-read-tree-m-u-wf.sh
t/t4015-diff-whitespace.sh
t/t4205-log-pretty-formats.sh
t/t6007-rev-list-cherry-pick-file.sh
t/t6013-rev-list-reverse-parents.sh
t/t7001-mv.sh
t/t7005-editor.sh
t/t7102-reset.sh
t/t7201-co.sh
t/t7400-submodule-basic.sh
t/t7405-submodule-merge.sh
t/t7506-status-submodule.sh
t/t7600-merge.sh
t/t7610-mergetool.sh
t/t9001-send-email.sh