File: stringattr.t

package info (click to toggle)
libsphinx-search-perl 1%3A0.29-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 224 kB
  • ctags: 145
  • sloc: perl: 2,004; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 228 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/perl

use Test::More tests => 1;

use Sphinx::Search; 

my $sphinx = Sphinx::Search->new(); 
eval {
  my $r = $sphinx->SetFilter('mystring', ['4bb4afe18d9c4e550798b543']);
};
ok(! $@, "string attribute filtering");