X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=t%2Fsame_as.t;h=285f64c6fa272fa1d018561e6a45568c4c727bae;hb=d9f4bd5ad20ac5d784c901ec745a50522b69d4a8;hp=c4df836103fdbdfcf39b01cbbe7be9950573a191;hpb=9b7a5679d7b975da7cb52f34503d1d8b4e174f3b;p=html-element-library.git diff --git a/t/same_as.t b/t/same_as.t index c4df836..285f64c 100644 --- a/t/same_as.t +++ b/t/same_as.t @@ -24,9 +24,14 @@ sub tage { #warn "TREE: $tree" . $tree->as_HTML; - my %data = (people_id => 888, phone => '444-4444', email => 'dont-you-dare-render@xml.com'); - - $tree->hash_map(hash => \%data, to_attr => 'sid', excluding => ['email']); + my %data = (people_id => 888, phone => '444-4444', email => 'm@xml.com'); + + $tree->hash_map + (hash => \%data, + to_attr => 'sid', + excluding => [ 'email' ], + debug => 1 + ); my $generated_html = ptree($tree, "$root.gen");