blame tests: don't rely on t/t4018/ directory
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 8 Apr 2021 15:04:23 +0000 (17:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Apr 2021 19:19:10 +0000 (12:19 -0700)
commitb269441be249152a9be6bd9f0a3f6fb5923d2be4
tree132505de389e5498d7fe3ff542e21d88bfc164f5
parent6cb77966ec8e335fc21ac555a851b81598971ebf
blame tests: don't rely on t/t4018/ directory

Refactor a test added in 9466e3809d (blame: enable funcname blaming
with userdiff driver, 2020-11-01) so that the blame tests don't rely
on stealing the contents of "t/t4018/fortran-external-function".

I have another patch series that'll possibly (or not) refactor that
file, but having this test inter-dependency makes things simple in any
case by making this test more readable.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/annotate-tests.sh