Commit 0f8f0a8a authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Added more test patterns

parent 0f263ce2
......@@ -92,4 +92,10 @@ is(@$mix, 3, 'find_all_by_pattern - open range (left)');
$mix = $collection->find_all_by_pattern( 'gamma' );
is(@$mix, 1, 'find_all_by_pattern - single name (no %)');
$mix = $collection->find_all_by_pattern( 'gamma+5' );
is(@$mix, 2, 'find_all_by_pattern - combined patterns (no overlap)');
$mix = $collection->find_all_by_pattern( 'gamma+3' );
is(@$mix, 1, 'find_all_by_pattern - combined patterns (overlap)');
done_testing();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment