]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/lei-oneshot.t
update copyrights for 2021
[public-inbox.git] / t / lei-oneshot.t
index 848682eecaf5c1a14af6109612bd68ec6a308af8..2b34f982b594e56097b4821548f9c60fe5c4a273 100644 (file)
@@ -1,5 +1,5 @@
 #!perl -w
-# Copyright (C) 2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2020-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
 use v5.10.1;
@@ -13,8 +13,8 @@ use subs qw(exit);
 sub main {
 # the below "line" directive is a magic comment, see perlsyn(1) manpage
 # line 1 "lei-oneshot"
-       require PublicInbox::LeiDaemon;
-       PublicInbox::LeiDaemon::oneshot(__PACKAGE__);
+       require PublicInbox::LEI;
+       PublicInbox::LEI::oneshot(__PACKAGE__);
        0;
 }
 1;