Commit 7b728ae3 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

added another test for Collection::add_once()

parent 3ea7e990
......@@ -48,6 +48,8 @@ ok(!$collection->present('chickens'), '!present() - The fox is unlucky');
is(@$ref, $i, 'Same size - there can be only 1 fox');
is(@$ref, ++$i, 'Addition - Someone comes in');
is(@$ref, --$i, 'one less element - the fox is gone: we\'re safe !');
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