Jump to content

Module:ISO 639 name/testcases/ISO 639-1 name from code

From Wikipedia, the free encyclopedia
local p = require("Module:UnitTests")

function p:test_iso_639_1_code_to_name()
	local language_list = mw.loadData("Module:ISO 639 name/ISO 639-1")
	require("Module:Lang/documentor tool").testcases_iso_code_to_name(self, {language_list = language_list, iso_number = "1"})
end

return p