Module:Codedoc/Procsrc/testcases

-- Unit tests. Click talk page to run tests. local func_definition = [=[--% Build function commentary structure from text --@ test(string) program code --: (table) function structure function testfunction (test) return {} end ]=] local procsrc = require "Module:Codedoc/Procsrc" local p ={ get_functions={--functioname options={nowiki=false}, --options tests = { equals ={ {'Gets table with functions', procsrc:get_functions(func_definition), ''}, },       },    }, } return p