diff options
Diffstat (limited to 't/02-inherit.t')
-rw-r--r-- | t/02-inherit.t | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/t/02-inherit.t b/t/02-inherit.t index fb8e238..f11d116 100644 --- a/t/02-inherit.t +++ b/t/02-inherit.t @@ -1,8 +1,15 @@ #!perl package TransformA;{ - use Tree::Transform::XSLTish; + use Tree::Transform::XSLTish ':engine'; use strict; use warnings; + use Tree::XPathEngine; + use Test::Most; + + engine_factory { + ok 1,'custom factory called'; + Tree::XPathEngine->new(); + }; default_rules; @@ -29,7 +36,7 @@ package TransformB;{ } package main; -use Test::Most qw(no_plan die); +use Test::Most tests=>2,'die'; use strict; use warnings; use Tree::DAG_Node::XPath; |