Skip to content

Commit

Permalink
t7500: fix flipped actual/expect
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Pimlott <andrew@pimlott.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Andrew Pimlott authored and Junio C Hamano committed Jul 1, 2013
1 parent 296fa99 commit f66d000
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/t7500-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f66d000

Please sign in to comment.