t7500: fix flipped actual/expect
Signed-off-by: Andrew Pimlott <andrew@pimlott.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Andrew Pimlott committed
Jul 1, 2013 at 09:20 UTC
f66d000b0d7d6d3c858f3aacd9a67d4809ac8011
1 file changed
+3
-3
t/t7500-commit.sh
+3
-3
@@ -13,9 +13,9 @@ commit_msg_is () {
13
expect=commit_msg_is.expect
14
actual=commit_msg_is.actual
15
16
- printf "%s" "$(git log --pretty=format:%s%b -1)" >$expect &&
17
- printf "%s" "$1" >$actual &&
18
- test_i18ncmp $expect $actual
16
+ printf "%s" "$(git log --pretty=format:%s%b -1)" >"$actual" &&
17
+ printf "%s" "$1" >"$expect" &&
18
+ test_i18ncmp "$expect" "$actual"
19
}
20
21
# A sanity check to see if commit is working at all.