X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fdwim-autoload.t;fp=t%2Fdwim-autoload.t;h=6441d1fc8cb7c24f28ded35a44c0015b76024da6;hb=6af04df5d563b2044ff7d65c88f977557ec17e48;hp=54de2fde1b4fac24a1b761ec1815b036bffb8f17;hpb=60d640ca9fbc328f7badc380a38f46e5414b6bf2;p=catagits%2FHTML-Zoom.git diff --git a/t/dwim-autoload.t b/t/dwim-autoload.t index 54de2fd..6441d1f 100644 --- a/t/dwim-autoload.t +++ b/t/dwim-autoload.t @@ -322,4 +322,15 @@ sub code_stream (&) { 'Got correct from repeat_content'; } +{ + ok my $dwim = HTML::Zoom + ->from_html(q[]) + ->replace_content({ + 'li.foo' => ['foo'], + 'li.bar' => ['bar'], + })->to_html; + is $dwim, '', + 'Multiple selectors from hashref'; +} + done_testing;