Signed-off-by: Jean Privat <jean@pryen.org>
# Populate `blocks` from the markdown decorator
mdproc.process(mdoc.content.join("\n"))
# Populate `blocks` from the markdown decorator
mdproc.process(mdoc.content.join("\n"))
- if blocks.is_empty then return
if blocks.is_empty then testsuite.add(tc)
end
if blocks.is_empty then testsuite.add(tc)
end
+ if blocks.is_empty then return
for block in blocks do
docunits.add new DocUnit(mdoc, tc, block.write_to_string)
end
for block in blocks do
docunits.add new DocUnit(mdoc, tc, block.write_to_string)
end