Re: [PATCH] t7500: fix flipped actual/expect
Andrew Pimlott <andrew@pimlott.net> writes:
Show 19 quoted lines
> Signed-off-by: Andrew Pimlott <andrew@pimlott.net>
> ---
> t/t7500-commit.sh | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/t/t7500-commit.sh b/t/t7500-commit.sh
> index 436b7b6..e166ac8 100755
> --- a/t/t7500-commit.sh
> +++ b/t/t7500-commit.sh
> @@ -13,8 +13,8 @@ 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 &&
> + printf "%s" "$(git log --pretty=format:%s%b -1)" >$actual &&
> + printf "%s" "$1" >$expect &&
> test_i18ncmp $expect $actual
> }Wow. How could all of us missed this for a long time?
Thanks, the change obviously looks good.