diff options
Diffstat (limited to 't/01-basic.t')
-rw-r--r-- | t/01-basic.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/01-basic.t b/t/01-basic.t index cb633bd..01d3510 100644 --- a/t/01-basic.t +++ b/t/01-basic.t @@ -19,9 +19,9 @@ my $tree=tree { }; }; -is_deeply($tree->tree_to_lol(), - [['coso1'],['coso2'],'root'], - 'built the tree'); +cmp_deeply($tree->tree_to_lol(), + [[re(qr{coso1})],[re(qr{coso2})],re(qr{root})], + 'built the tree'); is_deeply(($tree->daughters)[0]->attributes, {name => 'coso_1', other => 'some'}, 'attributes'); |