]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/config.t
build: generate PublicInbox.pm with $VERSION
[public-inbox.git] / t / config.t
index 73527ec2699bc84efe567d595ed121ece23216e8..877e5d5d45f7fbb1a9edfbe49c5b8fc98f17682a 100644 (file)
@@ -1,11 +1,12 @@
 # Copyright (C) 2014-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict;
-use warnings;
-use Test::More;
-use PublicInbox::Config;
+use v5.10.1;
 use PublicInbox::TestCommon;
 use PublicInbox::Import;
+use_ok 'PublicInbox';
+ok(defined(eval('$PublicInbox::VERSION')), 'VERSION defined');
+use_ok 'PublicInbox::Config';
 my ($tmpdir, $for_destroy) = tmpdir();
 
 {