mirror of
https://github.com/git/git.git
synced 2026-01-10 01:56:42 +00:00
Adjust diff-raw tests to the status letter change.
We use 'A' for added files instead of 'N' to make the it visually easier to distinguish from 'M' now. While we are at it, make the test scripts executable. Yes, I know it does not matter because t/Makefile runs them explicitly with "sh tXXXX-blah.sh", but being consistent is always better. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
4
t/t4007-rename-3.sh
Normal file → Executable file
4
t/t4007-rename-3.sh
Normal file → Executable file
@@ -45,7 +45,7 @@ test_expect_success \
|
||||
git-diff-cache -C $tree path1 >current
|
||||
|
||||
cat >expected <<\EOF
|
||||
:000000 100644 0000000000000000000000000000000000000000 6ff87c4664981e4397625791c8ea3bbb5f2279a3 N path1/COPYING
|
||||
:000000 100644 0000000000000000000000000000000000000000 6ff87c4664981e4397625791c8ea3bbb5f2279a3 A path1/COPYING
|
||||
EOF
|
||||
|
||||
test_expect_success \
|
||||
@@ -80,7 +80,7 @@ test_expect_success \
|
||||
git-diff-cache -C $tree path1 >current
|
||||
|
||||
cat >expected <<\EOF
|
||||
:000000 100644 0000000000000000000000000000000000000000 6ff87c4664981e4397625791c8ea3bbb5f2279a3 N path1/COPYING
|
||||
:000000 100644 0000000000000000000000000000000000000000 6ff87c4664981e4397625791c8ea3bbb5f2279a3 A path1/COPYING
|
||||
EOF
|
||||
|
||||
test_expect_success \
|
||||
|
||||
Reference in New Issue
Block a user