From: Andrew Pimlott Date: Mon, 1 Jul 2013 16:20:36 +0000 (-0700) Subject: t7500: fix flipped actual/expect X-Git-Tag: v1.8.3.3~24 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f66d000b0d7d6d3c858f3aacd9a67d4809ac8011?ds=inline;hp=--cc t7500: fix flipped actual/expect Signed-off-by: Andrew Pimlott Signed-off-by: Junio C Hamano --- f66d000b0d7d6d3c858f3aacd9a67d4809ac8011 diff --git a/t/t7500-commit.sh b/t/t7500-commit.sh index 436b7b606e..bdc1f29503 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.