t7500: fix flipped actual/expect
Signed-off-by: Andrew Pimlott <andrew@pimlott.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
296fa99334
commit
f66d000b0d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user