Module:ISO 639 name/testcases/1
Documentation for this module may be created at Module:ISO 639 name/testcases/1/doc
--[=[
Unit tests for [[Module:ISO 639 name]] error messages. This is not intended to test every possible thing that
can make an error message; rather, it is to test the creation and rendering of the messages themselves.
Click talk page to run tests.
]=]
local p = require('Module:UnitTests')
--[[--------------------------< I S O _ 6 3 9 >----------------------------------------------------------------
]]
function p:test_iso_639()
self:preprocess_equals_preprocess_many(
'{{ISO 639 name ', '}}', '{{#invoke:ISO 639 name|iso_639|cat=no|', '}}',
{
{'ab'},
{'aa'},
{'af'},
{'ak'},
{'sq'},
{'am'},
{'ar'},
{'an'},
{'hy'},
{'as'},
{'av'},
{'ae'},
{'ay'},
{'az'},
{'bm'},
{'ba'},
{'eu'},
{'be'},
{'bn'},
{'bh'},
{'bi'},
{'nb'},
{'bs'},
{'br'},
{'bg'},
{'my'},
{'es'},
{'ca'},
{'km'},
{'ch'},
{'ce'},
{'ny'},
{'ny'},
{'zh'},
{'za'},
{'cu'},
{'cu'},
{'cv'},
{'kw'},
{'co'},
{'cr'},
{'hr'},
{'cs'},
{'da'},
{'dv'},
{'dv'},
{'nl'},
{'dz'},
{'en'},
{'eo'},
{'et'},
{'ee'},
{'fo'},
{'fj'},
{'fi'},
{'nl'},
{'fr'},
{'ff'},
{'gd'},
{'gl'},
{'lg'},
{'ka'},
{'de'},
{'ki'},
{'el'},
{'kl'},
{'gn'},
{'gu'},
{'ht'},
{'ht'},
{'ha'},
{'he'},
{'hz'},
{'hi'},
{'ho'},
{'hu'},
{'is'},
{'io'},
{'ig'},
{'id'},
{'ia'},
{'ie'},
{'iu'},
{'ik'},
{'ga'},
{'it'},
{'ja'},
{'jv'},
{'kl'},
{'kn'},
{'kr'},
{'ks'},
{'kk'},
{'ki'},
{'rw'},
{'ky'},
{'kv'},
{'kg'},
{'ko'},
{'kj'},
{'ku'},
{'kj'},
{'ky'},
{'lo'},
{'la'},
{'lv'},
{'lb'},
{'li'},
{'li'},
{'li'},
{'ln'},
{'lt'},
{'lu'},
{'lb'},
{'mk'},
{'mg'},
{'ms'},
{'ml'},
{'dv'},
{'mt'},
{'gv'},
{'mi'},
{'mr'},
{'mh'},
{'ro'},
{'ro'},
{'mn'},
{'na'},
{'nv'},
{'nv'},
{'nd'},
{'nr'},
{'ng'},
{'ne'},
{'nd'},
{'se'},
{'no'},
{'nb'},
{'nn'},
{'ii'},
{'ny'},
{'nn'},
{'ie'},
{'oc'},
{'oj'},
{'cu'},
{'cu'},
{'cu'},
{'or'},
{'om'},
{'os'},
{'os'},
{'pi'},
{'pa'},
{'ps'},
{'fa'},
{'pl'},
{'pt'},
{'pa'},
{'ps'},
{'qu'},
{'ro'},
{'rm'},
{'rn'},
{'ru'},
{'sm'},
{'sg'},
{'sa'},
{'sc'},
{'gd'},
{'sr'},
{'sn'},
{'ii'},
{'sd'},
{'si'},
{'si'},
{'sk'},
{'sl'},
{'so'},
{'st'},
{'nr'},
{'es'},
{'su'},
{'sw'},
{'ss'},
{'sv'},
{'tl'},
{'ty'},
{'tg'},
{'ta'},
{'tt'},
{'te'},
{'th'},
{'bo'},
{'ti'},
{'to'},
{'ts'},
{'tn'},
{'tr'},
{'tk'},
{'tw'},
{'ug'},
{'uk'},
{'ur'},
{'ug'},
{'uz'},
{'ca'},
{'ve'},
{'vi'},
{'vo'},
{'wa'},
{'cy'},
{'fy'},
{'wo'},
{'xh'},
{'yi'},
{'yo'},
{'za'},
{'zu'},
},
{nowiki=false, templatestyles=true}
)
end
return p