Module:UserLinks/testcases
Appearance
This is the test cases page for the module Module:UserLinks. Results of the test cases. |
local p = require('Module:UnitTests')
function p:test_talk()
self:preprocess_equals('{{#invoke:UserLinks|single|t|user=Example }}', '[[User talk:Example|talk]]')
self:preprocess_equals('{{#invoke:UserLinks/sandbox|single|ct|user=Example}}', '[[xtools:ec/en.wikipedia.org/Example|count]]')
self:preprocess_equals('{{#invoke:UserLinks/sandbox|single|ae|user=Example}}', '[[xtools:autoedits/en.wikipedia.org/Example|non-automated edits]]')
self:preprocess_equals('{{#invoke:UserLinks/sandbox|single|es|user=Example}}', '[[xtools:editsummary/en.wikipedia.org/Example|edit summaries]]')
end
return p