Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add test for ->all

  • Loading branch information...
commit 36fce30a0e444429be75c7c6b5428980a611ebf1 1 parent c5a6146
Jonathan Rockway authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 t/basic-list-collection.t
4 t/basic-list-collection.t
View
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use Test::More tests => 13;
+use Test::More tests => 14;
use Collection::Categorized;
@@ -41,3 +41,5 @@ $cc->edit(sub { map { $_ * 2 } @_ });
is_deeply [$cc->get('+')], [2,4];
is_deeply [$cc->get('=')], [0];
is_deeply [$cc->get('-')], [-2];
+
+is_deeply [sort $cc->all], [-2, 0, 2, 4], 'everything there';
Please sign in to comment.
Something went wrong with that request. Please try again.