From f66d000b0d7d6d3c858f3aacd9a67d4809ac8011 Mon Sep 17 00:00:00 2001 From: Andrew Pimlott Date: Mon, 1 Jul 2013 09:20:36 -0700 Subject: t7500: fix flipped actual/expect Signed-off-by: Andrew Pimlott Signed-off-by: Junio C Hamano diff --git a/t/t7500-commit.sh b/t/t7500-commit.sh index 436b7b6..bdc1f29 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. -- cgit v0.10.2-6-g49f6