diff options
author | Eric Wong <e@80x24.org> | 2015-08-22 11:41:19 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-08-22 11:42:30 +0000 |
commit | 4f4264f7ac384b02442bdf7c5cc6e838feb86c93 (patch) | |
tree | db5e66e907d903d7298695fcb41c1b1a5701e6cf /t | |
parent | ed872bd8ed6c6a10096b9946614715a03da76485 (diff) | |
download | public-inbox-4f4264f7ac384b02442bdf7c5cc6e838feb86c93.tar.gz |
This makes organization easier and reduces the amount of code loaded for a PSGI, mod_perl or CGI instance.
Diffstat (limited to 't')
-rw-r--r-- | t/search.t | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ use strict; use warnings; use Test::More; -eval { require PublicInbox::Search; }; +eval { require PublicInbox::SearchIdx; }; plan skip_all => "Xapian missing for search" if $@; use File::Temp qw/tempdir/; use Email::MIME; @@ -16,11 +16,11 @@ is(0, system(qw(git init -q --bare), $git_dir), "git init (main)"); eval { PublicInbox::Search->new($git_dir) }; ok($@, "exception raised on non-existent DB"); -my $rw = PublicInbox::Search->new($git_dir, 1); +my $rw = PublicInbox::SearchIdx->new($git_dir, 1); my $ro = PublicInbox::Search->new($git_dir); my $rw_commit = sub { $rw = undef; - $rw = PublicInbox::Search->new($git_dir, 1); + $rw = PublicInbox::SearchIdx->new($git_dir, 1); }; { |