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/06-code.t | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 't/06-code.t') 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{ -- cgit v1.2.3