[Xapian-tickets] [Xapian] #610: Search::Xapian 1.2.13 fails tests against perl 5.16.1

Xapian nobody at xapian.org
Tue Jan 22 22:13:13 GMT 2013


#610: Search::Xapian 1.2.13 fails tests against perl 5.16.1
----------------------------+-----------------------------------------------
 Reporter:  jbergstroem     |       Owner:  olly  
     Type:  defect          |      Status:  new   
 Priority:  normal          |   Milestone:        
Component:  Search::Xapian  |     Version:  1.2.13
 Severity:  normal          |    Keywords:        
Blockedby:                  |    Platform:  All   
 Blocking:                  |  
----------------------------+-----------------------------------------------

Comment(by blueness):

 Replying to [ticket:610 jbergstroem]:
 >
 > Reduced case (taken from https://bugs.gentoo.org/show_bug.cgi?id=453450)
 >


 Actually I cut that off one line too short.  The correct reduced case is

 {{{
 use Test::More;
 BEGIN { plan tests => 2 };
 use Search::Xapian qw(:standard);
 use Config;

 eval {
     Search::Xapian::Query->new("hello", 1, 2, 3, 4);
 };
 ok(defined $@, "Bad query ctor threw exception");
 like($@, qr!^USAGE: Search::Xapian::Query->new\('term'\) or
 Search::Xapian::Query->new\(OP, <args>\) at \S+/10query\.t line \d+$!);

 }}}

-- 
Ticket URL: <http://trac.xapian.org/ticket/610#comment:1>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list