diff options
author | Matthew DeVore <matvore@google.com> | 2018-10-05 21:54:04 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-06 23:51:18 (GMT) |
commit | dcbaa0b361f5bebcbe6eca446819fadd02083461 (patch) | |
tree | 5424e437cc8b6a0665061a4dc4686200ff35f894 /t/t3702-add-edit.sh | |
parent | bdbc17e86abe2471c4bd0d52cdc004835cb7bb3e (diff) | |
download | git-dcbaa0b361f5bebcbe6eca446819fadd02083461.zip git-dcbaa0b361f5bebcbe6eca446819fadd02083461.tar.gz git-dcbaa0b361f5bebcbe6eca446819fadd02083461.tar.bz2 |
t/*: fix ordering of expected/observed arguments
Fix various places where the ordering was obviously wrong, meaning it
was easy to find with grep.
Signed-off-by: Matthew DeVore <matvore@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3702-add-edit.sh')
-rwxr-xr-x | t/t3702-add-edit.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t3702-add-edit.sh b/t/t3702-add-edit.sh index c6af7f8..6c67664 100755 --- a/t/t3702-add-edit.sh +++ b/t/t3702-add-edit.sh @@ -110,10 +110,10 @@ test_expect_success 'add -e' ' cp second-part file && git add -e && test_cmp second-part file && - test_cmp orig-patch expected-patch && + test_cmp expected-patch orig-patch && git diff --cached >actual && grep -v index actual >out && - test_cmp out expected + test_cmp expected out ' |