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

[PATCH] t7500: fix flipped actual/expect

From
APAndrew Pimlott <andrew@pimlott.net>
Date
Jul 1, 2013, 16:20 UTC
Message-ID
<1372695636-10768-2-git-send-email-andrew@pimlott.net>
In-Reply-To
<1372695636-10768-1-git-send-email-andrew@pimlott.net>
Signed-off-by: Andrew Pimlott <andrew@pimlott.net>
---
 t/t7500-commit.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t7500-commit.sh b/t/t7500-commit.sh
index 436b7b6..e166ac8 100755
--- a/t/t7500-commit.sh
+++ b/t/t7500-commit.sh
@@ -13,8 +13,8 @@ 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 &&
+	printf "%s" "$(git log --pretty=format:%s%b -1)" >$actual &&
+	printf "%s" "$1" >$expect &&
 	test_i18ncmp $expect $actual
 }
 
-- 
1.7.10.4
Previous: Andrew PimlottNext: Junio C Hamano
Message 2 of 4 in “lib-rebase: document exec_ in FAKE_LINES”
  1. lib-rebase: document exec_ in FAKE_LINESAndrew Pimlott, Jul 1, 2013
  2. t7500: fix flipped actual/expectAndrew Pimlott, Jul 1, 2013
  3. Junio C HamanoJul 1, 2013
  4. Andrew PimlottJul 1, 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.