From: Matt S Trout Date: Sat, 6 Feb 2010 21:01:38 +0000 (+0000) Subject: test append_inside X-Git-Tag: release_0.009004~86 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FHTML-Zoom.git;a=commitdiff_plain;h=a25b8d4dffb60994a4ff56662cb0e1f1ed49c29e test append_inside --- diff --git a/t/actions.t b/t/actions.t index f369b13..03082bf 100644 --- a/t/actions.t +++ b/t/actions.t @@ -188,4 +188,12 @@ is( 'replace w/inside' ); +($expect = $tmpl) =~ s/(?=<\/div>)/O HAI/; + +is( + run_for { $_->append_inside($ohai) }, + $expect, + 'append inside ok' +); + done_testing;