Module:siwa-pron/testcases: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
end
end


function tests:check_output(term, expected)
function tests:check_output(term, expected, noresp)
return tests:equals(
return tests:equals(
"[[Contionary:" .. term .. "#Siwa|" .. term .. "]]",
"[[Contionary:" .. noresp or term .. "#Siwa|" .. noresp or term .. "]]",
m_IPA.crux(term),
m_IPA.crux(term),
expected,
expected,