use Test::More 'no_plan'; use Test::Deep; use lib '../lib'; use NG; my $html = '
testcontent
'; my $hd = new HTTP::DOM->new($html); isa_ok $hd, 'HTTP::DOM'; is $hd->find('#mid')->text, 'testcontent'; is $hd->find('meta')->attr('content'), 'haha';