]> Sergey Matveev's repositories - public-inbox.git/commit
t/lei*: drop $lei->(...) sub
authorEric Wong <e@80x24.org>
Sun, 21 Feb 2021 19:59:06 +0000 (01:59 +0600)
committerEric Wong <e@80x24.org>
Mon, 22 Feb 2021 00:52:32 +0000 (00:52 +0000)
commit2ee341027929f716636aa7f03057a961d3a02d1c
treea85fe13baaeab9ae5740f8d06d56cf56bd131212
parent4f4fa052e6caf470632a2e8a8ea5113c97f0ba21
t/lei*: drop $lei->(...) sub

lei() and lei_ok() are superior since they offer prototype
checks and lei_ok() adds another check + description DRY-ness.

The $lei sub was only bound to a variable since it was in
t/lei.t and named subs don't work well with the key2sub()
wrapper.
lib/PublicInbox/TestCommon.pm
t/lei-daemon.t
t/lei-externals.t
t/lei-import-maildir.t
t/lei-import.t
t/lei-mirror.t
t/lei.t