projects
/
catagits/HTML-Zoom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
11cc25d
)
test append_inside
Matt S Trout [Sat, 6 Feb 2010 21:01:38 +0000 (21:01 +0000)]
t/actions.t
patch
|
blob
|
blame
|
history
diff --git
a/t/actions.t
b/t/actions.t
index
f369b13
..
03082bf
100644
(file)
--- 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;