t/t-migrate-import: check for correct missing object

It was clearly intended that we be checking for a pointer not to exist
with the contents of a.txt, not a.md, at this point.  This passes either
way because the file isn't a pointer at all and therefore doesn't match
anything, but it's better to check for the proper thing regardless.
This commit is contained in:
brian m. carlson 2020-11-23 21:52:12 +00:00
parent 19e217f6bc
commit 4bca2ebdc6
No known key found for this signature in database
GPG Key ID: 2D0C9BC12F82B3A1

@ -422,7 +422,7 @@ begin_test "migrate import (above)"
# was converted into a git-lfs pointer by the migration.
assert_local_object "$md_main_oid" "140"
assert_pointer "refs/heads/main" "a.md" "$md_main_oid" "140"
refute_pointer "refs/heads/main" "a.txt" "$md_main_oid" "120"
refute_pointer "refs/heads/main" "a.txt" "$txt_main_oid" "120"
refute_local_object "$txt_main_oid" "120"
# The migration should have identified that *.md files are now