git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] test: fix post rewrite hook report

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
May 30, 2013, 13:46 UTC
Message-ID
<1369921595-30514-1-git-send-email-felipe.contreras@gmail.com>
First expected, then actual.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 t/t5407-post-rewrite-hook.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t5407-post-rewrite-hook.sh b/t/t5407-post-rewrite-hook.sh
index baa670c..ea2e0d4 100755
--- a/t/t5407-post-rewrite-hook.sh
+++ b/t/t5407-post-rewrite-hook.sh
@@ -31,8 +31,8 @@ clear_hook_input () {
 }
 
 verify_hook_input () {
-	test_cmp "$TRASH_DIRECTORY"/post-rewrite.args expected.args &&
-	test_cmp "$TRASH_DIRECTORY"/post-rewrite.data expected.data
+	test_cmp expected.args "$TRASH_DIRECTORY"/post-rewrite.args &&
+	test_cmp expected.data "$TRASH_DIRECTORY"/post-rewrite.data
 }
 
 test_expect_success 'git commit --amend' '
-- 
1.8.3.rc3.312.g47657de
Next: Thomas Rast
Message 1 of 2 in “test: fix post rewrite hook report”
  1. test: fix post rewrite hook reportFelipe Contreras, May 30, 2013
  2. Thomas RastMay 30, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.