X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Factions.t;h=03082bf93bcd7b4e2a3ab82ff0f573c838c5a341;hb=a25b8d4dffb60994a4ff56662cb0e1f1ed49c29e;hp=f369b1364e970eda5bebe79652621c05b350ac43;hpb=11cc25dd4b8378ed73eb43b140d97460abde0c62;p=catagits%2FHTML-Zoom.git 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;