summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorAndrew Pimlott <andrew@pimlott.net>2013-07-01 16:20:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-07-01 16:53:00 (GMT)
commitf66d000b0d7d6d3c858f3aacd9a67d4809ac8011 (patch)
treebfde799954b2a911eaefda1070b3e230ed611028 /t
parent296fa99334ff9fc0ca1ea01bce5f53d7ae248d5f (diff)
downloadgit-f66d000b0d7d6d3c858f3aacd9a67d4809ac8011.zip
git-f66d000b0d7d6d3c858f3aacd9a67d4809ac8011.tar.gz
git-f66d000b0d7d6d3c858f3aacd9a67d4809ac8011.tar.bz2
t7500: fix flipped actual/expect
Signed-off-by: Andrew Pimlott <andrew@pimlott.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t7500-commit.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t7500-commit.sh b/t/t7500-commit.sh
index 436b7b6..bdc1f29 100755
--- a/t/t7500-commit.sh
+++ b/t/t7500-commit.sh
@@ -13,9 +13,9 @@ commit_msg_is () {
expect=commit_msg_is.expect
actual=commit_msg_is.actual
- printf "%s" "$(git log --pretty=format:%s%b -1)" >$expect &&
- printf "%s" "$1" >$actual &&
- test_i18ncmp $expect $actual
+ printf "%s" "$(git log --pretty=format:%s%b -1)" >"$actual" &&
+ printf "%s" "$1" >"$expect" &&
+ test_i18ncmp "$expect" "$actual"
}
# A sanity check to see if commit is working at all.