summaryrefslogtreecommitdiff
path: root/t/03-html.t
diff options
context:
space:
mode:
Diffstat (limited to 't/03-html.t')
-rw-r--r--t/03-html.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/03-html.t b/t/03-html.t
index 08ad9c3..9cb196e 100644
--- a/t/03-html.t
+++ b/t/03-html.t
@@ -17,7 +17,7 @@ my $tree=tree {
name 'head';
node {
name 'title';
- node { name '~text'; attribs text => 'Page title' };
+ text_node 'Page title';
}
};
node {
@@ -26,7 +26,7 @@ my $tree=tree {
name 'p';
attribs id => 'p1';
attribs class => 'para';
- node { name '~text'; attribs text => 'Page para' };
+ text_node 'Page para';
};
};
};