45,647
edits
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
end | end | ||
local function linkup(text) | local function linkup(text, noresp) | ||
return "[[Contionary:" .. text .. "#High Valyrian|" .. text .. "]]" | return "[[Contionary:" .. noresp or text .. "#High Valyrian|" .. text .. "]]" | ||
end | end | ||
function tests:check_output(term, expected) | function tests:check_output(term, expected, noresp) | ||
return tests:equals( | return tests:equals( | ||
linkup(term), | noresp and linkup(term, noresp) or linkup(term), | ||
m_IPA.crux(term), | m_IPA.crux(term), | ||
expected, | expected, | ||
Line 33: | Line 33: | ||
{"valonqar", "vaˈloɴqar"}, | {"valonqar", "vaˈloɴqar"}, | ||
{"Thoros", "ˈθoɾos"}, | {"Thoros", "ˈθoɾos"}, | ||
{" | {"arákh", "aˈɾax", "arakh"}, | ||
{"ēngos", "ˈeːŋɡos"}, | {"ēngos", "ˈeːŋɡos"}, | ||
{"amīvindigon", "amiːˈvindiɡon"}, | {"amīvindigon", "amiːˈvindiɡon"}, |