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"); |