]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/lei.t
tests: more common JSON module loading
[public-inbox.git] / t / lei.t
diff --git a/t/lei.t b/t/lei.t
index feee92700502730948bb3bcd56708a9dc1c71a48..02f213225f4aff822cfbe967b657385c62727fc9 100644 (file)
--- a/t/lei.t
+++ b/t/lei.t
@@ -6,8 +6,7 @@ use v5.10.1;
 use Test::More;
 use PublicInbox::TestCommon;
 use PublicInbox::Config;
-my $json = PublicInbox::Config::json() or plan skip_all => 'JSON missing';
-require_mods(qw(DBD::SQLite Search::Xapian));
+require_mods(qw(json DBD::SQLite Search::Xapian));
 my ($home, $for_destroy) = tmpdir();
 my $opt = { 1 => \(my $out = ''), 2 => \(my $err = '') };