From: Jakub Narebski Date: Sun, 9 Jan 2011 13:59:44 +0000 (+0100) Subject: Add indirect test of '*' all match selector X-Git-Tag: release_0.009004~9^2~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6d80bb9ab1285f5a97311117d29e5a5e1431988a;p=catagits%2FHTML-Zoom.git Add indirect test of '*' all match selector --- diff --git a/t/selectors.t b/t/selectors.t index 41699bf..8a800b1 100644 --- a/t/selectors.t +++ b/t/selectors.t @@ -40,6 +40,14 @@ is( HTML::Zoom->from_html('
'.$stub) '
grg
'.$stub, 'E[attr] works' ); +# *[attr] +is( HTML::Zoom->from_html('
'.$stub) + ->select('*[frew]') + ->replace_content('grg') + ->to_html, + '
grg
grg'.$stub, + '*[attr] works' ); + # el[attr="foo"] is( HTML::Zoom->from_html('
'.$stub) ->select('div[frew="yo"]')