From: Andreas Herrmann <aherrmann@suse.de>
To: git@vger.kernel.org
Cc: Andreas Herrmann <aherrmann@suse.de>
Subject: [PATCH] t4002: fix test #63 (missing whitespace)
Date: Tue, 25 Jul 2023 08:34:10 +0200 [thread overview]
Message-ID: <20230725063516.27242-1-aherrmann@suse.de> (raw)
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 reply other threads:[~2023-07-25 6:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-25 6:34 Andreas Herrmann [this message]
2023-07-25 7:10 ` [PATCH] t4002: fix test #63 (missing whitespace) Eric Sunshine
2023-07-25 16:49 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230725063516.27242-1-aherrmann@suse.de \
--to=aherrmann@suse.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).