Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit f66d000

Browse files
Andrew Pimlottgitster
authored andcommitted
t7500: fix flipped actual/expect
Signed-off-by: Andrew Pimlott <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 296fa99 commit f66d000

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/t7500-commit.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ commit_msg_is () {
1313
expect=commit_msg_is.expect
1414
actual=commit_msg_is.actual
1515

16-
printf "%s" "$(git log --pretty=format:%s%b -1)" >$expect &&
17-
printf "%s" "$1" >$actual &&
18-
test_i18ncmp $expect $actual
16+
printf "%s" "$(git log --pretty=format:%s%b -1)" >"$actual" &&
17+
printf "%s" "$1" >"$expect" &&
18+
test_i18ncmp "$expect" "$actual"
1919
}
2020

2121
# A sanity check to see if commit is working at all.

0 commit comments

Comments
 (0)