Module:I18n/testcases

-- Unit tests for colorsmw library. -- @usage Dependent on UnitTests Scribunto module. --        https://dev.wikia.com/wiki/Global_Lua_Modules/UnitTests -- @see   Unit test report: --        https://dev.wikia.com/wiki/Module_talk:I18n/testcases -- @submodule return { getLang = { options = { nowiki = false },       tests = { preprocess_equals_many = { { '', 'en' }, { 'lang=en', 'en' }, { 'lang=es', 'es' } }       }    },    getMsg = { options = { nowiki = false },       tests = { preprocess_equals_many = { {                   'install|css-import|lang=en', '@import statement' },               {                    'install|add-to-importjs|lang=de', 'Füge das ins \'\'\'MediaWiki:ImportJS\'\'\' ein:' },               {                    'install|title|チャット|lang=ja', 'チャットの導入方法' },               {                    'infobox|stylesheet|2|lang=es', 'hojas de estilo' }           }        }    } }