-- <nowiki>
-- Unit tests for [[Global Lua Modules/Codedoc]].
-- @see [[Module talk:Codedoc/testcases]]
return {
main = {
options = {
mode = 'invocation',
nowiki = false
},
tests = {
{
"Module:Codedoc/testdata",
"<div><h2>Module information</h2></div>\n<div><h3>Functions</h3><h4>testfunction</h4><div>Build function commentary structure from text.</div><div>Parameters</div><table class=\"wikitable sortable\" style=\"width:100%\"><tr><th>Name</th><th>Type</th><th>purpose</th></tr><tr><td>test</td><td>string</td><td>program code.</td></tr></table><table class=\"wikitable sortable\" style=\"width:100%\"><tr><th>Return type</th><th>Return purpose</th></tr><tr><td>table</td><td>function structure.</td></tr></table></div>"
}
}
}
}
-- </nowiki>
Advertisement
Module:Codedoc/testcases
Advertisement