diff options
author | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2015-03-25 10:04:49 +0000 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2015-03-25 10:04:49 +0000 |
commit | 1af9ada48f844f08a4200f05a56715573a97d6e2 (patch) | |
tree | 5676f4e67b82eee1b01b80d23623f0a9df6f4c04 /t/01-basic.t | |
parent | more rebust tests, work with hash randomisation (diff) | |
download | Tree-Template-Declare-1af9ada48f844f08a4200f05a56715573a97d6e2.tar.gz Tree-Template-Declare-1af9ada48f844f08a4200f05a56715573a97d6e2.tar.bz2 Tree-Template-Declare-1af9ada48f844f08a4200f05a56715573a97d6e2.zip |
make tests compatible with newer Tree::DAG_Node
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'); |