summaryrefslogtreecommitdiff
path: root/t/04-errors.t
diff options
context:
space:
mode:
Diffstat (limited to 't/04-errors.t')
-rw-r--r--t/04-errors.t5
1 files changed, 1 insertions, 4 deletions
diff --git a/t/04-errors.t b/t/04-errors.t
index 107c1bd..6656933 100644
--- a/t/04-errors.t
+++ b/t/04-errors.t
@@ -1,13 +1,10 @@
#!perl
package main;
-use Test::Most qw(no_plan);
+use Test::Most tests=>7;
use strict;
use warnings;
use Tree::DAG_Node::XPath;
-sub Tree::DAG_Node::XPath::Root::xpath_get_root_node { return $_[0] }
-sub Tree::DAG_Node::XPath::Root::xpath_get_parent_node { return }
-
my $tree=Tree::DAG_Node::XPath->new();
$tree->name('base');
$tree->new_daughter->name("coso$_") for 1..5;