X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=perl%2Ft%2F04_cql.t;h=ff8e743de40539627316d7fba979d3481a572ec2;hb=a137a5cabe5ce29c9c98445f4099f7d528663bb9;hp=7efb8daa4b719c6d0d47f52536e9790fd91d3a58;hpb=2f8d4d90ec5eba3725182f83c067e141db160495;p=idzebra-moved-to-github.git diff --git a/perl/t/04_cql.t b/perl/t/04_cql.t index 7efb8da..ff8e743 100644 --- a/perl/t/04_cql.t +++ b/perl/t/04_cql.t @@ -1,6 +1,6 @@ #!perl # ============================================================================= -# $Id: 04_cql.t,v 1.1 2003-03-03 00:44:39 pop Exp $ +# $Id: 04_cql.t,v 1.3 2004-07-28 08:15:47 adam Exp $ # # Perl API header # ============================================================================= @@ -20,7 +20,8 @@ use Test::More tests => 7; # Session opening and closing BEGIN { use IDZebra; - IDZebra::logFile("test.log"); + unlink("test04.log"); + IDZebra::logFile("test04.log"); use_ok('IDZebra::Session'); } @@ -40,7 +41,7 @@ $SIG{__WARN__} = \&catch_warn; &check_cql($sess, "dc.title=(IDZebra and Session)", 0); &check_cql($sess, "dc.title=IDZebra and Session)", -1); &check_cql($sess, "dc.title='IDZebra::Session'", 0); -&check_cql($sess, "anything=IDZebra", 15); +&check_cql($sess, "anything=IDZebra", 16); sub check_cql { my ($sess, $query, $exp) = @_;