Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 367 Bytes
use Test::More;
plan skip_all => 'Test::Valgrind has false positives';
eval 'use Test::Valgrind';
plan skip_all =>
'Test::Valgrind is required to test your distribution with valgrind'
if $@;
my $snipper = Search::Tools::Snipper->new( query => 'three', max_chars => 1 );
my $snip = $snipper->snip('one two three four five');
Jump to Line
Something went wrong with that request. Please try again.