Module:Fallback/testcases

From Dharmawiki
< Module:Fallback
Revision as of 22:22, 9 February 2019 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

-- 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