]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/git: avoid "once" warning for async_warn
authorEric Wong <e@80x24.org>
Wed, 13 Oct 2021 10:16:10 +0000 (10:16 +0000)
committerEric Wong <e@80x24.org>
Wed, 13 Oct 2021 19:52:26 +0000 (19:52 +0000)
No point in testing use_ok when we have no outside dependencies
nor exports in this case.

t/git.t

diff --git a/t/git.t b/t/git.t
index 8a02021103ff49e2ed48f008e9ef93483f41ad6c..fa541f41179fad34a033309ed25e51570cfd0f78 100644 (file)
--- a/t/git.t
+++ b/t/git.t
@@ -6,8 +6,7 @@ use PublicInbox::TestCommon;
 my ($dir, $for_destroy) = tmpdir();
 use PublicInbox::Import;
 use POSIX qw(strftime);
-
-use_ok 'PublicInbox::Git';
+use PublicInbox::Git;
 
 {
        PublicInbox::Import::init_bare($dir);