projects
/
bse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba326a7
)
add test block over a list
author
Adrian Oldham
<adriann@visualthought.com.au>
Thu, 24 Oct 2013 02:41:06 +0000
(13:41 +1100)
committer
Tony Cook
<tony@develop-help.com>
Sun, 3 Nov 2013 23:20:23 +0000
(10:20 +1100)
t/010-modules/050-format.t
patch
|
blob
|
blame
|
history
diff --git
a/t/010-modules/050-format.t
b/t/010-modules/050-format.t
index 653b0d285d67e617f8501586124a4f9475f9902b..e7dc295b5540dd4e4d3fc7a2922fce06ef2e8bc5 100644
(file)
--- a/
t/010-modules/050-format.t
+++ b/
t/010-modules/050-format.t
@@
-1,6
+1,6
@@
#!perl -w
use strict;
-use Test::More tests => 14
0
;
+use Test::More tests => 14
1
;
sub format_test($$$;$);
sub noformat_test($$$;$);
@@
-666,6
+666,18
@@
IN
</section>
</a>
OUT
+
+format_test <<IN, <<OUT, 'list inside a block', 'both';
+div[#id|
+** item
+** item
+]
+IN
+<div id="id">
+<ul><li>item</li><li>item</li></ul>
+</div>
+OUT
+
# remove_format() tests
noformat_test 'image[foo]', '', 'image';
noformat_test 'code[something [bar]]', 'something [bar]', 'nested []';