File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ line 3'
15
15
cat path0 > path1
16
16
chmod +x path1
17
17
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
+ '
21
21
22
22
mv path0 path0-
23
23
sed -e ' s/line/Line/' < path0- > path0
24
24
chmod +x path0
25
25
rm -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
+ '
29
29
30
30
# that's as far as it comes
31
31
if [ " $( git config --get core.filemode) " = false ]
@@ -55,8 +55,8 @@ deleted file mode 100755
55
55
-line 3
56
56
EOF
57
57
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
+ '
61
61
62
62
test_done
You can’t perform that action at this time.
0 commit comments