Module:Template test case: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(allow suppression of headers and of individual templates, and track any "heading" arguments in Category:Test cases using heading parameters)
(fix bad variable name)
Line 276: Line 276:
for k, v in pairs(options) do
for k, v in pairs(options) do
if type(k) == 'string' and k:find('heading') then
if type(k) == 'string' and k:find('heading') then
categories['Test cases using heading parameters'] = true
obj.categories['Test cases using heading parameters'] = true
break
break
end
end