зеркало из https://github.com/microsoft/git.git
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:
Родитель
296fa99334
Коммит
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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче