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

From WikiCigar
< Module:ISO 639 name‎ | testcases
Revision as of 06:30, 6 October 2020 by en>Gonnym (Gonnym moved page Module:ISO 639 name/testcases/ISO 639-1 name to code to Module:ISO 639 name/testcases/ISO 639-1 code from name without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:ISO 639 name/testcases/ISO 639-1 code from name/doc

local p = require("Module:UnitTests")

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

return p