### ----------------------------------------------------
### -- HTML::Parser::XML
### -- Licenses: 
### -- Authors: 
### -- File: t/01_basic.t
### ----------------------------------------------------
#!/usr/bin/env perl6

use lib 'lib';
use HTML::Parser::XML;
use Test;

my $html = slurp 't/data/S05.mini.html';
my $parser = HTML::Parser::XML.new;

$parser.parse($html);
plan 2;

ok $parser.xmldoc.root.elements.elems > 1;
ok $parser.xmldoc.root.name eq 'html';


