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

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Gonnym at 06:49, 11 July 2024 (update link). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
local p = require("Module:UnitTests")

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

return p