]> iEval git - html-element-library.git/blobdiff - t/same_as.t
fixed test suite
[html-element-library.git] / t / same_as.t
index c4df836103fdbdfcf39b01cbbe7be9950573a191..285f64c6fa272fa1d018561e6a45568c4c727bae 100644 (file)
@@ -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");
 
This page took 0.023404 seconds and 4 git commands to generate.