Jump to content

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

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Gonnym (talk | contribs) at 11:28, 6 October 2020 (Gonnym moved page Module:ISO 639 name/testcases/ISO 639-5 code to name to Module:ISO 639 name/testcases/ISO 639-5 name from code without leaving a redirect). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local p = require("Module:UnitTests")

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

return p