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:
parent
19e217f6bc
commit
4bca2ebdc6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user