Module:siwa-pron/testcases: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 10: Line 10:
end
end


function tests:check_output_aingo(term, expected, noresp)
function tests:check_output(term, expected, noresp)
return tests:equals(
return tests:equals(
noresp and linkup(noresp) .. "<br>(" .. term .. ")" or linkup(term),
noresp and linkup(noresp) .. "<br>(" .. term .. ")" or linkup(term),
Line 75: Line 75:
{"", ""},]]
{"", ""},]]
}
}
self:iterate(list, "check_output_aingo")
self:iterate(list, "check_output")
end
end


return tests
return tests