test append_inside
Matt S Trout [Sat, 6 Feb 2010 21:01:38 +0000 (21:01 +0000)]
t/actions.t

index f369b13..03082bf 100644 (file)
@@ -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;