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

[PATCH] t4002: fix test #63 (missing whitespace)

From
AHAndreas Herrmann <aherrmann@suse.de>
Date
Jul 25, 2023, 06:34 UTC
Message-ID
<20230725063516.27242-1-aherrmann@suse.de>

Add missing whitespace between 'test_expect_success' and test case description for last test. Without this, we get:

t4002-diff-basic.sh: line 412: test_expect_successdiff can read from stdin: command not found
Signed-off-by: Andreas Herrmann <aherrmann@suse.de>
---
 t/t4002-diff-basic.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/t/t4002-diff-basic.sh b/t/t4002-diff-basic.sh
index d524d4057d..e6b6739426 100755
--- a/t/t4002-diff-basic.sh
+++ b/t/t4002-diff-basic.sh
@@ -401,9 +401,10 @@ test_expect_success 'diff-tree B A == diff-tree -R A B' '
 test_expect_success 'diff-tree -r B A == diff-tree -r -R A B' '
 	git diff-tree -r $tree_B $tree_A >.test-a &&
 	git diff-tree -r -R $tree_A $tree_B >.test-b &&
-	cmp -s .test-a .test-b'
+	cmp -s .test-a .test-b
+'
 
-test_expect_success'diff can read from stdin' '
+test_expect_success 'diff can read from stdin' '
 	test_must_fail git diff --no-index -- MN - < NN |
 		grep -v "^index" | sed "s#/-#/NN#" >.test-a &&
 	test_must_fail git diff --no-index -- MN NN |
-- 
2.41.0
Next: Eric Sunshine
Message 1 of 3 in “t4002: fix test #63 (missing whitespace)”
  1. t4002: fix test #63 (missing whitespace)Andreas Herrmann, Jul 25, 2023
  2. Eric SunshineJul 25, 2023
  3. Junio C HamanoJul 25, 2023

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.