Module:Footnotes/testcases
Appearance
![]() | This is the test cases page for the module Module:Footnotes. Results of the test cases. |
-- Unit tests for [[Module:Citation]]. Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_sfn()
self:preprocess_equals_preprocess_many('{{sfn/sandbox|', '}}', '{{sfn|', '}}', {
{ "Smith | Jones | 2004"
}
} )
end
function p:test_harvnb()
self:preprocess_equals_preprocess_many('{{harvard citation no brackets/sandbox|', '}}', '{{harvnb|', '}}', {
{ "Smith | Jones | 2004"
}
} )
end
return p;