factor some code-based stream types out into classes
[catagits/HTML-Zoom.git] / t / todo-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;
8a1c87d1 6is($html, '<p>Hello my name is <span id="#name">Foo foo</span></p>');