rename span from todo since it now works
[catagits/HTML-Zoom.git] / t / span.t
CommitLineData
23ba49c7 1use HTML::Zoom;
2use Test::More tests => 1;
3
4my $zoom = HTML::Zoom->from_html('<p>Hello my name is <span id="name" /></p>');
5my $html = $zoom->select('#name')->replace_content('Foo foo')->to_html;
a88c1c57 6is($html, '<p>Hello my name is <span id="name">Foo foo</span></p>');