Module:Fallback/testcases
< Module:Fallback
Jump to navigation
Jump to search
Revision as of 20:16, 7 November 2018 by en>Jarekt (remove split off functions)
-- Unit tests for Module:Fallback. Click talk page to run tests. local p = require('Module:UnitTests')
function p:test_translatelua()
self:preprocess_equals('Lua error in package.lua at line 80: module 'Module:i18n/oil on canvas' not found.', 'oil on canvas') self:preprocess_equals('Lua error in package.lua at line 80: module 'Module:i18n/oil on canvas' not found.', "huile sur toile") self:preprocess_equals('Lua error in package.lua at line 80: module 'Module:i18n/oil on canvas' not found.', "huile sur toile") self:preprocess_equals('Lua error in package.lua at line 80: module 'Module:i18n/oil on canvas' not found.', 'olej na płótnie') self:preprocess_equals('Camera location', 'Camera location')
end
return p