/[pgestraier]/trunk/t/pgest.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/t/pgest.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 22 by dpavlin, Thu May 26 20:16:34 2005 UTC revision 25 by dpavlin, Fri May 27 21:06:01 2005 UTC
# Line 88  foreach my $q (('@title STRINC Blade Run Line 88  foreach my $q (('@title STRINC Blade Run
88    
89  diag "Error handling test follows, ignore messages...";  diag "Error handling test follows, ignore messages...";
90  # test NULL handling  # test NULL handling
91  ok(! $dbh->do(qq{select * from pgest(null, '', '', 0, 0)}), "null index_path");  ok(! $dbh->do(qq`select * from pgest(null, '', '', 0, 0, array['\@id']) as (id text)`), "null index_path");
92  ok(my $hits = pgest('blade runner', '', 0, 0), "test search");  ok(my $hits = pgest('blade runner', '', 0, 0), "test search");
93  cmp_ok($hits, '==', pgest('blade runner', undef, 0, 0), "null attr");  cmp_ok($hits, '==', pgest('blade runner', undef, 0, 0), "null attr");
94  cmp_ok($hits, '==', pgest('blade runner', '', undef, 0), "null limit");  cmp_ok($hits, '==', pgest('blade runner', '', undef, 0), "null limit");

Legend:
Removed from v.22  
changed lines
  Added in v.25

  ViewVC Help
Powered by ViewVC 1.1.26