45,646
edits
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
local function linkup(text, noresp) | local function linkup(text, noresp) | ||
return "[[Contionary:" .. | return "[[Contionary:" .. text .. "#High Valyrian|" .. text .. "]]" | ||
end | end | ||
function tests:check_output(term, expected, noresp) | function tests:check_output(term, expected, noresp) | ||
return tests:equals( | return tests:equals( | ||
noresp and linkup(term | noresp and linkup(noresp) .. "<br>(" .. term .. ")" or linkup(term), | ||
m_IPA.crux(term), | m_IPA.crux(term), | ||
expected, | expected, |