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

[PATCH] Improve legibility of test_expect_code output

From
Adam Spiers <git@adamspiers.org>
Date
Sep 19, 2012, 22:38 UTC
Message-ID
<1348094310-11214-1-git-send-email-git@adamspiers.org>
---
 t/test-lib-functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 mode change 100644 => 100755 t/test-lib-functions.sh
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
old mode 100644
new mode 100755
index 8889ba5..e022e73
--- a/t/test-lib-functions.sh
+++ b/t/test-lib-functions.sh
@@ -562,7 +562,7 @@ test_expect_code () {
 		return 0
 	fi
 
-	echo >&2 "test_expect_code: command exited with $exit_code, we wanted $want_code $*"
+	echo >&2 "test_expect_code: command exited with $exit_code, we wanted $want_code from: $*"
 	return 1
 }
 
-- 
1.7.12.147.g6d168f4
Next: Junio C Hamano
Message 1 of 9 in “Improve legibility of test_expect_code output”
  1. Improve legibility of test_expect_code outputAdam Spiers, Sep 19, 2012
  2. Junio C HamanoSep 20, 2012
  3. Adam SpiersSep 20, 2012
  4. Junio C HamanoSep 20, 2012
  5. Adam SpiersSep 20, 2012
  6. Junio C HamanoSep 20, 2012
  7. Adam SpiersSep 20, 2012
  8. Junio C HamanoSep 20, 2012
  9. Adam SpiersSep 20, 2012

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.