diff options
Diffstat (limited to 't/06-code.t')
-rw-r--r-- | t/06-code.t | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/t/06-code.t b/t/06-code.t index a37d0d3..f80c7fa 100644 --- a/t/06-code.t +++ b/t/06-code.t @@ -36,13 +36,13 @@ my $tree=tree { ); }; -is_deeply($tree->tree_to_lol(), - [ - [['description'],'item'], - [['description'],'item'], - [['description'],'item'], - 'list'], - 'tree with code'); +cmp_deeply($tree->tree_to_lol(), + [ + [[re(qr{description})],re(qr{item})], + [[re(qr{description})],re(qr{item})], + [[re(qr{description})],re(qr{item})], + re(qr{list})], + 'tree with code'); my @attrs; $tree->walk_down({callback=>sub{ |