မေႃႇၵျူး:Documentation/testcases: လွင်ႈပႅၵ်ႇပိူင်ႈ ၼႂ်းၵႄႈ လွင်ႈၶူၼ်ႉၶႆႈ

Content deleted Content added
ၵေႃႇသၢင်ႈၼႃႈလိၵ်ႈဝႆႉ တင်း "-- Test cases page for Module:Documentation. See talk page to run tests. local doc = require('Module:Documentation/sandbox') local ScribuntoUnit = require('Module:ScribuntoUnit') local suite = ScribuntoUnit:new() -------------------------------------------------------------------------------------------- -- Test case helper functions ----------------------------------------------------------------------------..."
 
mNo edit summary
Tag: Reverted
ထႅဝ် 36:
 
function suite:testMakeCategoryLink()
self:assertEquals('[[Categoryပိူင်ထၢၼ်ႈ:Foo]]', doc.makeCategoryLink('Foo'))
self:assertEquals('[[Categoryပိူင်ထၢၼ်ႈ:Foo|Bar]]', doc.makeCategoryLink('Foo', 'Bar'))
end
 
ထႅဝ် 131:
self:assertEnvFieldEquals(7, 'File:Example.png', 'docSpace')
self:assertEnvFieldEquals(9, 'MediaWiki:Watchlist-details', 'docSpace')
self:assertEnvFieldEquals(15, 'Categoryပိူင်ထၢၼ်ႈ:Wikipedians', 'docSpace')
end
 
ထႅဝ် 165:
local diff = '[//en.wikipedia.org/w/index.php?title=Special%3AComparePages&page1=' .. mw.uri.encode(templatePage) .. '&page2=' .. mw.uri.encode(page) .. ' diff]'
local testcasesBlurb = 'See also the companion subpage for [[' .. templatePage .. '/testcases|test cases]].'
local category = '[[Categoryပိူင်ထၢၼ်ႈ:Template sandboxes]]'
local clear = '<div class="documentation-clear"></div>'
return env, image, templateBlurb, moduleBlurb, otherBlurb, diff, testcasesBlurb, category, clear
ထႅဝ် 635:
 
function suite.getStrangeUsageCat()
return '[[Categoryပိူင်ထၢၼ်ႈ:Wikipedia pages with strange ((documentation)) usage]]'
end