File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ line 3'
1515cat path0 > path1
1616chmod +x path1
1717
18- test_expect_success \
19- ' update-index --add two files with and without +x. ' \
20- ' git update-index --add path0 path1 '
18+ test_expect_success ' update-index --add two files with and without +x. ' '
19+ git update-index --add path0 path1
20+ '
2121
2222mv path0 path0-
2323sed -e ' s/line/Line/' < path0- > path0
2424chmod +x path0
2525rm -f path1
26- test_expect_success \
27- ' git diff-files -p after editing work tree. ' \
28- ' git diff-files -p >current '
26+ test_expect_success ' git diff-files -p after editing work tree. ' '
27+ git diff-files -p >actual
28+ '
2929
3030# that's as far as it comes
3131if [ " $( git config --get core.filemode) " = false ]
@@ -55,8 +55,8 @@ deleted file mode 100755
5555-line 3
5656EOF
5757
58- test_expect_success \
59- ' validate git diff-files -p output. ' \
60- ' compare_diff_patch current expected '
58+ test_expect_success ' validate git diff-files -p output. ' '
59+ compare_diff_patch expected actual
60+ '
6161
6262test_done
You can’t perform that action at this time.
0 commit comments