aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-07-25 12:05:23 -0700
committerJunio C Hamano <gitster@pobox.com>2023-07-25 12:05:23 -0700
commitd4ce18536acbfebebe8007bcab4656922cdd12e8 (patch)
tree92b399240d38ff0fac296b1c713a57c00cb72113
parentMerge branch 'tb/object-access-overflow-protection' (diff)
parentt4002: fix "diff can read from stdin" syntax (diff)
downloadgit-d4ce18536acbfebebe8007bcab4656922cdd12e8.tar.gz
git-d4ce18536acbfebebe8007bcab4656922cdd12e8.zip
Merge branch 'dk/t4002-syntaxo-fix'
Test fix. * dk/t4002-syntaxo-fix: t4002: fix "diff can read from stdin" syntax
-rwxr-xr-xt/t4002-diff-basic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4002-diff-basic.sh b/t/t4002-diff-basic.sh
index d524d4057d..7afc883ec3 100755
--- a/t/t4002-diff-basic.sh
+++ b/t/t4002-diff-basic.sh
@@ -403,7 +403,7 @@ test_expect_success 'diff-tree -r B A == diff-tree -r -R A B' '
git diff-tree -r -R $tree_A $tree_B >.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 |