Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Check number of appended subcategories
  • Loading branch information
Paul Cochrane committed May 6, 2015
1 parent 1412230 commit 52a2054
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/003-categories.t
Expand Up @@ -41,7 +41,7 @@ subtest {
}, "categories-list functionality";

subtest {
plan 3;
plan 4;

my %categories-table =
"receiver" => "bob",
Expand All @@ -62,6 +62,7 @@ subtest {
my @subcategories-list = @categories-list[0].subcategories.categories-list;
ok(@subcategories-list[0] ~~ Category,
"Appended subcategory is a Category object");
is(@subcategories-list.elems, 2, "Number of appended subcategories");
is(@subcategories-list[0].key, "entangled-state",
"Appended subcategory contains expected data");
}, "append-subcategories functionality";
Expand Down

0 comments on commit 52a2054

Please sign in to comment.