(with skip)
[catagits/HTML-Zoom.git] / t / bugs / after_void.t
CommitLineData
533bdc1b 1use strictures 1;
9524c2f1 2use Test::More skip_all => 'TODO test';
533bdc1b 3
4use HTML::Zoom;
5
6my $tmpl = <<END;
7<body>
8 <input class="main"/>
9</body>
10END
11
12my $tmpl2 = <<END;
13<body>
14 <div>cluck</div><input class="main"/>
15</body>
16END
17
18my $z = HTML::Zoom->from_html($tmpl);
19is(
20 $z->select('input')
21 ->add_before(\"<div>cluck</div>")
22 ->to_html, $tmpl2,
23"added before void");
24
25done_testing;