summaryrefslogtreecommitdiff
path: root/t/t7005-editor.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-10-11 14:52:23 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-10-11 14:52:23 +0900
commit97cb362262c27ab952ac2ee3109eb9411ad3d11b (patch)
tree61f01ce5471338c4fb86225a1037187b61725f6a /t/t7005-editor.sh
parentMerge branch 'jk/refs-df-conflict' (diff)
parenttests: fix diff order arguments in test_cmp (diff)
downloadtgif-97cb362262c27ab952ac2ee3109eb9411ad3d11b.tar.xz
Merge branch 'sb/test-cmp-expect-actual'
Test tweak. * sb/test-cmp-expect-actual: tests: fix diff order arguments in test_cmp
Diffstat (limited to 't/t7005-editor.sh')
-rwxr-xr-xt/t7005-editor.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh
index 1b530b5022..29e5043b94 100755
--- a/t/t7005-editor.sh
+++ b/t/t7005-editor.sh
@@ -38,7 +38,7 @@ test_expect_success setup '
test_commit "$msg" &&
echo "$msg" >expect &&
git show -s --format=%s > actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
@@ -85,7 +85,7 @@ do
git --exec-path=. commit --amend &&
git show -s --pretty=oneline |
sed -e "s/^[0-9a-f]* //" >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
done
@@ -107,7 +107,7 @@ do
git --exec-path=. commit --amend &&
git show -s --pretty=oneline |
sed -e "s/^[0-9a-f]* //" >actual &&
- test_cmp actual expect
+ test_cmp expect actual
'
done