From 1af9ada48f844f08a4200f05a56715573a97d6e2 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Wed, 25 Mar 2015 10:04:49 +0000 Subject: make tests compatible with newer Tree::DAG_Node --- t/01-basic.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 't/01-basic.t') 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'); -- cgit v1.2.3