summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/02-xslt.t2
-rw-r--r--t/06-code.t2
2 files changed, 1 insertions, 3 deletions
diff --git a/t/02-xslt.t b/t/02-xslt.t
index ac6bf42..d36c132 100644
--- a/t/02-xslt.t
+++ b/t/02-xslt.t
@@ -16,14 +16,12 @@ use warnings;
tree_rule match => '/', action => sub {
tree {
- main::diag 'root';
$_[0]->apply_rules;
};
};
tree_rule match => '*', priority => 0, action => sub {
node {
- main::diag 'node '.$_[0]->it->name;
name $_[0]->it->name;
attribs %{$_[0]->it->attributes};
$_[0]->apply_rules;
diff --git a/t/06-code.t b/t/06-code.t
index 959fce2..a37d0d3 100644
--- a/t/06-code.t
+++ b/t/06-code.t
@@ -8,7 +8,7 @@ use Data::Dumper;
sub make_item {
my ($name,$id)=@_;
- return node {
+ return detached node {
name 'item';
attribs id => $id;
node {