45,359
edits
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
end | end | ||
function tests: | 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, " | self:iterate(list, "check_output") | ||
end | end | ||
return tests | return tests |