diff options
Diffstat (limited to 't/t4001-diff-rename.sh')
-rwxr-xr-x | t/t4001-diff-rename.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/t/t4001-diff-rename.sh b/t/t4001-diff-rename.sh index 0f97858197..99a5d1bd1c 100755 --- a/t/t4001-diff-rename.sh +++ b/t/t4001-diff-rename.sh @@ -277,10 +277,11 @@ test_expect_success 'basename similarity vs best similarity' ' git add file.txt file.md && git commit -a -m "rename" && git diff-tree -r -M --name-status HEAD^ HEAD >actual && - # subdir/file.txt is 88% similar to file.md and 78% similar to file.txt + # subdir/file.txt is 88% similar to file.md, 78% similar to file.txt, + # but since same basenames are checked first... cat >expected <<-\EOF && - R088 subdir/file.txt file.md - A file.txt + A file.md + R078 subdir/file.txt file.txt EOF test_cmp expected actual ' |