summaryrefslogtreecommitdiff
path: root/t/05-mixed.t
diff options
context:
space:
mode:
authorGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2015-03-25 10:04:49 +0000
committerGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2015-03-25 10:04:49 +0000
commit1af9ada48f844f08a4200f05a56715573a97d6e2 (patch)
tree5676f4e67b82eee1b01b80d23623f0a9df6f4c04 /t/05-mixed.t
parentmore rebust tests, work with hash randomisation (diff)
downloadTree-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/05-mixed.t')
-rw-r--r--t/05-mixed.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/05-mixed.t b/t/05-mixed.t
index e7e66b1..85bcf37 100644
--- a/t/05-mixed.t
+++ b/t/05-mixed.t
@@ -50,6 +50,6 @@ my $dagtree=dtree {
};
};
-is_deeply($dagtree->tree_to_lol(),
- [['coso1'],['coso2'],'root'],
- 'DAG_Node tree');
+cmp_deeply($dagtree->tree_to_lol(),
+ [[re(qr{coso1})],[re(qr{coso2})],re(qr{root})],
+ 'DAG_Node tree');