Module:PageLinks/sandbox testcases

local p = require('Module:UnitTests')

function p:test_basic self:preprocess_equals('', ' Example (talk) ') end

function p:test_category self:preprocess_equals('', 'Category:Example (talk)') end

function p:test_talk self:preprocess_equals('', 'talk') end

function p:test_views self:preprocess_equals('', 'stats') end

function p:test_logs self:preprocess_equals('', '[//en.wikipedia.org/w/index.php?title=Special%3ALog&page=Sylven+Landesberg logs]') end

return p