diff options
Diffstat (limited to 't/27asxml.t')
-rw-r--r-- | t/27asxml.t | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/t/27asxml.t b/t/27asxml.t new file mode 100644 index 0000000..d2a887c --- /dev/null +++ b/t/27asxml.t @@ -0,0 +1,13 @@ +use Test; +BEGIN { plan tests => 3 } + +use XML::XPath; +ok(1); + +my $parser = XML::XPath::Parser->new(); +ok($parser); + +my $path = $parser->parse('/foo[position() < 1]/bar[$variable = 3]'); +ok($path); + +# warn("Path: ", $path->as_xml(), "\n"); |